movenc: Make tkhd "enabled" flag QuickTime compatible

Multimedia / Libav - John Stebbins [jetheaddev.com] - 23 August 2013 02:55 UTC

QuickTime will play multiple audio tracks concurrently if this flag is set for multiple audio tracks. And if no subtitle track has this flag set, QuickTime will show no subtitles in the subtitle menu.

30ce289 movenc: Make tkhd "enabled" flag QuickTime compatible
libavformat/movenc.c | 56 +++++++++++++++++++++++++++++++++-
libavformat/movenc.h | 1 +
tests/ref/acodec/alac | 2 +-
tests/ref/acodec/pcm-s16be | 2 +-
tests/ref/acodec/pcm-s24be | 2 +-
tests/ref/acodec/pcm-s32be | 2 +-
tests/ref/acodec/pcm-s8 | 2 +-
tests/ref/lavf/mov | 2 +-
tests/ref/vsynth/vsynth1-dnxhd-1080i | 2 +-
tests/ref/vsynth/vsynth1-mpeg4 | 2 +-
tests/ref/vsynth/vsynth1-prores | 2 +-
tests/ref/vsynth/vsynth1-qtrle | 2 +-
tests/ref/vsynth/vsynth1-svq1 | 2 +-
tests/ref/vsynth/vsynth2-dnxhd-1080i | 2 +-
tests/ref/vsynth/vsynth2-mpeg4 | 2 +-
tests/ref/vsynth/vsynth2-prores | 2 +-
tests/ref/vsynth/vsynth2-qtrle | 2 +-
tests/ref/vsynth/vsynth2-svq1 | 2 +-
18 files changed, 72 insertions(+), 17 deletions(-)

Upstream: git.libav.org


  • Share