Write a BOM at the beginning of subtitles to make unpatched VSFilter happy
Closes #1795.
This commit is contained in:
parent
45b5637e35
commit
d61a9664c6
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ void SubtitlesProvider::LoadSubtitles(AssFile *subs, int time) {
|
|||
buffer.push_back('\n');
|
||||
};
|
||||
|
||||
push_header("[Script Info]\n");
|
||||
push_header("\xEF\xBB\xBF[Script Info]\n");
|
||||
for (auto const& line : subs->Info)
|
||||
push_line(line.GetEntryData());
|
||||
|
||||
|
|
Loading…
Reference in a new issue