Commit 82628481 authored by conrad's avatar conrad

Treat disposition==0 as undefined and don't write the default flag


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16651 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2e62b2c3
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment