mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
Strip newlines at the end of the "Format=" line. Otherwise the fields wanted might not be found and would be missing in the output.
This commit is contained in:
parent
b5c4d29c18
commit
8cca15fa07
@ -1,3 +1,9 @@
|
||||
2005-05-05 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvextract: bug fix: SSA/ASS text was missing in the output if
|
||||
the "Format=" line contained newlines at the end of the
|
||||
CodecPrivate data (e.g. our old Mew Mew sample file).
|
||||
|
||||
2005-05-03 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: new feature: Added support for the ChapterSegmentUID
|
||||
|
@ -164,7 +164,7 @@ xtr_ssa_c::create_file(xtr_base_c *_master,
|
||||
if (pos2 < 0)
|
||||
pos2 = sconv.length();
|
||||
ssa_format = split(sconv.substr(pos1 + 7, pos2 - pos1 - 7), ",");
|
||||
strip(ssa_format);
|
||||
strip(ssa_format, true);
|
||||
for (pos1 = 0; pos1 < ssa_format.size(); pos1++)
|
||||
ssa_format[pos1] = downcase(ssa_format[pos1]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user