The Matroska specifications have evolved and now allow to mark
multiple tracks of the same kind as default (whether this was legal or
not before was dubious; e.g. mkvmerge disallowed it). Yet when the
Matroska muxer is set to infer default dispositions if absent, it also
enforced the now outdated restriction. So update this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
{"flipped_raw_rgb","Raw RGB bitmaps in VFW mode are stored bottom-up",OFFSET(flipped_raw_rgb),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FLAGS},
{"write_crc32","write a CRC32 element inside every Level 1 element",OFFSET(write_crc),AV_OPT_TYPE_BOOL,{.i64=1},0,1,FLAGS},
{"default_mode","Controls how a track's FlagDefault is inferred",OFFSET(default_mode),AV_OPT_TYPE_INT,{.i64=DEFAULT_MODE_INFER},DEFAULT_MODE_INFER,DEFAULT_MODE_PASSTHROUGH,FLAGS,"default_mode"},
{"infer","For each track type, mark the first track of disposition default as default; if none exists, mark the first track as default.",0,AV_OPT_TYPE_CONST,{.i64=DEFAULT_MODE_INFER},0,0,FLAGS,"default_mode"},
{"infer_no_subs","For each track type, mark the first track of disposition default as default; for audio and video: if none exists, mark the first track as default.",0,AV_OPT_TYPE_CONST,{.i64=DEFAULT_MODE_INFER_NO_SUBS},0,0,FLAGS,"default_mode"},
{"infer","For each track type, mark each track of disposition default as default; if none exists, mark the first track as default.",0,AV_OPT_TYPE_CONST,{.i64=DEFAULT_MODE_INFER},0,0,FLAGS,"default_mode"},
{"infer_no_subs","For each track type, mark each track of disposition default as default; for audio and video: if none exists, mark the first track as default.",0,AV_OPT_TYPE_CONST,{.i64=DEFAULT_MODE_INFER_NO_SUBS},0,0,FLAGS,"default_mode"},
{"passthrough","Use the disposition flag as-is",0,AV_OPT_TYPE_CONST,{.i64=DEFAULT_MODE_PASSTHROUGH},0,0,FLAGS,"default_mode"},