Fix loading subtitles extradata from matroska files

This commit is contained in:
Thomas Goyne 2014-08-30 08:10:53 -07:00
parent 158288b66d
commit e4368d59e4
1 changed files with 3 additions and 3 deletions

View File

@ -237,10 +237,10 @@ void MatroskaWrapper::GetSubtitles(agi::fs::path const& filename, AssFile *targe
parser.AddLine(cur); parser.AddLine(cur);
} }
// Load default if it's SRT // Load default if it's SRT
else { else
target->LoadDefault(false, OPT_GET("Subtitle Format/SRT/Default Style Catalog")->GetString()); target->LoadDefault(false, OPT_GET("Subtitle Format/SRT/Default Style Catalog")->GetString());
parser.AddLine("[Events]");
} parser.AddLine("[Events]");
// Read timecode scale // Read timecode scale
auto segInfo = mkv_GetFileInfo(file); auto segInfo = mkv_GetFileInfo(file);