mirror of
https://github.com/taglib/taglib.git
synced 2026-08-27 12:47:01 -04:00
A new Matroska::File::save(WriteStyle style) overload is provided to control how tags, attachments and chapters are written to the file. - Compact: Write tags, attachments and chapters as compact as possible. This is the default mode. - DoNotShrink: Do not shrink elements; add void padding when content gets smaller. Allow inserts when content gets larger. - AvoidInsert: Like DoNotShrink but also avoid inserts for non-last elements: replace a growing non-last element with a void of the old size and append the new element at the end of the segment. For very large files and/or slow (network) filesystems, using this mode will reduce write time significantly. Co-authored-by: Copilot <[email protected]>