Actually read dialogue lines from SRT-in-Matroska

Pass the ASS parser a [Events] line before feeding it dialogue lines so
that the dialogue lines are parsed as such rather than as script info
lines.

Updates #1554.
This commit is contained in:
Thomas Goyne 2012-11-10 17:43:12 -08:00
parent 8701d7cdb1
commit 6b0ea92f8e

View file

@ -210,6 +210,7 @@ void MatroskaWrapper::GetSubtitles(wxString const& filename, AssFile *target) {
// Load default if it's SRT
else {
target->LoadDefault(false);
parser.AddLine("[Events]");
}
// Read timecode scale