mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-21 06:16:59 +00:00
Treat disposition==0 as undefined and don't write the default flag
Originally committed as revision 16651 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8a86aaa3b2
commit
1c3db2aa50
@ -560,6 +560,7 @@ static int mkv_write_tracks(AVFormatContext *s)
|
||||
else
|
||||
put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, "und");
|
||||
|
||||
if (st->disposition)
|
||||
put_ebml_uint(pb, MATROSKA_ID_TRACKFLAGDEFAULT, !!(st->disposition & AV_DISPOSITION_DEFAULT));
|
||||
|
||||
// look for a codec ID string specific to mkv to use,
|
||||
|
Loading…
Reference in New Issue
Block a user