diff options
author | David Conrad <lessen42@gmail.com> | 2009-01-17 04:31:14 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2009-01-17 04:31:14 +0000 |
commit | 1c3db2aa5010c7a55b882f2691fa6fa15b78ec5a (patch) | |
tree | cd2f452b094090b03de49b36248847d32185092c | |
parent | 8a86aaa3b2e3a7c581048abd2b25ee43d3a92eb7 (diff) | |
download | ffmpeg-1c3db2aa5010c7a55b882f2691fa6fa15b78ec5a.tar.gz |
Treat disposition==0 as undefined and don't write the default flag
Originally committed as revision 16651 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/matroskaenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 59016cab9f..368c351564 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -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, |