This patch will fix the following problems:
- subtitles configuration (size, font, etc) is not used by mediaportal, along with "use subtitles" checkbox.
- subtitles cannot be turned off for avi files as I reported here
The problem is the following:
VideoPlayerVMR9.cs (and VideoPlayerVMR7.cs) has the following in method GetInterfaces:
as vob is initially null it never get assigned. Last command need to be out of 'if':
Thanks.
- subtitles configuration (size, font, etc) is not used by mediaportal, along with "use subtitles" checkbox.
- subtitles cannot be turned off for avi files as I reported here
The problem is the following:
VideoPlayerVMR9.cs (and VideoPlayerVMR7.cs) has the following in method GetInterfaces:
Code:
if (vob != null)
{
Marshal.ReleaseComObject(vob);
vob = null;
DirectShowUtil.FindFilterByClassID(graphBuilder, classID, out vob);
}
as vob is initially null it never get assigned. Last command need to be out of 'if':
Code:
if (vob != null)
{
Marshal.ReleaseComObject(vob);
vob = null;
}
DirectShowUtil.FindFilterByClassID(graphBuilder, classID, out vob);
Thanks.