mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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:
parent
8701d7cdb1
commit
6b0ea92f8e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user