mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
Also write default values for chapters (the language).
This commit is contained in:
parent
553405e158
commit
66e3fd6ce1
@ -2130,7 +2130,7 @@ void create_next_output_file(bool last_file, bool first_file) {
|
|||||||
evoid.Render(*out);
|
evoid.Render(*out);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
kax_chapters->Render(*out);
|
kax_chapters->Render(*out, true);
|
||||||
if (hack_engaged(ENGAGE_SPACE_AFTER_CHAPTERS)) {
|
if (hack_engaged(ENGAGE_SPACE_AFTER_CHAPTERS)) {
|
||||||
EbmlVoid evoid;
|
EbmlVoid evoid;
|
||||||
evoid.SetSize(100);
|
evoid.SetSize(100);
|
||||||
@ -2189,7 +2189,7 @@ void finish_file() {
|
|||||||
chapters_here = select_chapters_in_timeframe(chapters_here, start, end,
|
chapters_here = select_chapters_in_timeframe(chapters_here, start, end,
|
||||||
offset, false);
|
offset, false);
|
||||||
if (chapters_here != NULL)
|
if (chapters_here != NULL)
|
||||||
kax_chapters_void->ReplaceWith(*chapters_here, *out, true);
|
kax_chapters_void->ReplaceWith(*chapters_here, *out, true, true);
|
||||||
delete kax_chapters_void;
|
delete kax_chapters_void;
|
||||||
kax_chapters_void = NULL;
|
kax_chapters_void = NULL;
|
||||||
} else
|
} else
|
||||||
|
Loading…
Reference in New Issue
Block a user