mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-29 14:27:42 +00:00
mkvmerge: Honor 'no' for the default track even if the track is read from a Matroska file in which it had 'yes' set for its default track flag.
This commit is contained in:
parent
d657fd2f07
commit
3544fdc94f
@ -1,5 +1,9 @@
|
||||
2007-06-23 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: The 'default track' flag was set to 'yes' for
|
||||
tracks read from Matroska files even if 'no' was specified on the
|
||||
command line.
|
||||
|
||||
* mkvextract: new feature: Added support for the 'header removal'
|
||||
encoding scheme.
|
||||
|
||||
|
@ -642,6 +642,8 @@ generic_packetizer_c::set_headers() {
|
||||
set_as_default_track(idx, DEFAULT_TRACK_PRIORITY_FROM_TYPE);
|
||||
else if (ti.default_track)
|
||||
set_as_default_track(idx, DEFAULT_TRACK_PRIORITY_CMDLINE);
|
||||
else if (default_tracks[idx] == hserialno)
|
||||
default_tracks[idx] = 0;
|
||||
|
||||
if (ti.language != "")
|
||||
*(static_cast<EbmlString *>
|
||||
|
Loading…
Reference in New Issue
Block a user