There's a new option called `--chapter-sync …` that behaves just like
`--sync -2:…`. Both can be used to adjust the timestamps of chapters
read from containers (such as Matroska or MP4 files) and chapter
files (both the XML format and the Ogg comment style format).
Part of the implementation of #2358.
zapcc seems to have problems (linker errors) sometimes if pre-compiled
headers are enabled. The home page even says they're not supported. So
simply disable them.
ccache and certain versions of zapcc don't seem to be playing well
together. As zapcc's servers do the caching already, disable ccache if
compiling with zapcc.
The function determining the default user interface font was leaking
font resources on Windows. This in itself isn't a huge
problem. However, the function determining the sidebar's font size is
called rather often, and that one calls the "default UI font"
function.
The result was memory exhaustion regarding font resources, a general
slowdown not only of MKVToolNix GUI but also other Windows
applications and subsequently a crash of MKVToolNix GUI.
Fixes#2372.
Each `Track` instance contains a pointer to the `SourceFile` structure
the `Track` belongs to. When cloning or copying a `SourceFile`
instance, the `Track` instances are cloned, too. However, their
pointer to the owning `SourceFile` instance must be adjusted, too.
Otherwise this leads to crashes.
Fixes#2368.
There are now two situations in which mkvmerge generates names for
chapters:
1. If generation is enabled (either in intervals or for each appended
file)
2. When reading chapters from MPLS playlists
The GUI will now pass the chapter name template to mkvmerge in both
situations, even if the template is empty (which will result in
chapters being generated without names).
In order to provide a sensible default, the chapter name template
property will be set to the value in the preferences (section "Chapter
editor").
Part of the implementation of #2275.
Instead of harcoding 'Chapter %02d', the name set by
`--generate-chapters-name-template` is used if the option is set.
Part of the implementation of #2275.