2015-09-11, 12:48
Hey!
When I am using external MicroDVD subtitles (.sub extension), Kodi will not show about first 25 lines. I think first 1024b of subtitle file is missing. This is happening in Kodi 15.x and 16.
in 14.2 everything was okay!
So I compared about 15.1 and 14.2 source codes. And I thought that CDVDSubtitleStream::IsIncompatible() function is causing that problem, in file xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleStream.cpp.
Then I removed:
and then I built it. And now microdvd subtitles is working again perfectly!
When I am using external MicroDVD subtitles (.sub extension), Kodi will not show about first 25 lines. I think first 1024b of subtitle file is missing. This is happening in Kodi 15.x and 16.
in 14.2 everything was okay!
So I compared about 15.1 and 14.2 source codes. And I thought that CDVDSubtitleStream::IsIncompatible() function is causing that problem, in file xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleStream.cpp.
Then I removed:
Code:
if (URIUtils::HasExtension(strFile, ".sub") && IsIncompatible(pInputStream))
{
CLog::Log(LOGDEBUG, "%s: file %s seems to be a vob sub"
"file without an idx file, skipping it", __FUNCTION__, pInputStream->GetFileName().c_str());
delete pInputStream;
return false;
}
and then I built it. And now microdvd subtitles is working again perfectly!