From 6b0ea92f8e0194e57ef27e85c2a5f7734c05c527 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 10 Nov 2012 17:43:12 -0800 Subject: [PATCH] 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. --- aegisub/src/mkv_wrap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/src/mkv_wrap.cpp b/aegisub/src/mkv_wrap.cpp index 35ea2b77c..1e1d44606 100644 --- a/aegisub/src/mkv_wrap.cpp +++ b/aegisub/src/mkv_wrap.cpp @@ -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