forked from mia/Aegisub
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
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ void MatroskaWrapper::GetSubtitles(wxString const& filename, AssFile *target) {
|
||||||
// Load default if it's SRT
|
// Load default if it's SRT
|
||||||
else {
|
else {
|
||||||
target->LoadDefault(false);
|
target->LoadDefault(false);
|
||||||
|
parser.AddLine("[Events]");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read timecode scale
|
// Read timecode scale
|
||||||
|
|
Loading…
Reference in a new issue