I think there still is a small glitch: when you enable and disable some ffdshow components while MP is active, but as this is not a normal user case I don't think we should worry about it too much...
With the help of Sebastii (yes again him ) we identified the guilty code and I fixed it.
Code:
public static ISubEngine GetInstance([B][COLOR="red"]bool forceinitialize[/COLOR][/B])
{
if (engine == null [COLOR="Red"][B]|| forceinitialize[/B][/COLOR])
{
Then to make all old calls compatible I added a overlay:
Code:
public static ISubEngine GetInstance()
{
return GetInstance(false);
}
so in the Play() function of VideoPlayerVMR7.cs we just need to change the init of the engine:
Code:
string tmpstr;
ISubEngine engine = SubEngine.GetInstance([COLOR="red"][B]true[/B][/COLOR]);
again Sebastii for your help.
Simone