movenc: Make tkhd "enabled" flag QuickTime compatible
authorJohn Stebbins <stebbins@jetheaddev.com>
Thu, 22 Aug 2013 14:25:18 +0000 (07:25 -0700)
committerAnton Khirnov <anton@khirnov.net>
Fri, 23 Aug 2013 07:55:42 +0000 (09:55 +0200)
commit30ce289074e88f528965cb57720674a675639737
tree322b5aa2c85a290c829396e14468b4d623c46d07
parent1f70a5ad284b33e8b3e2b40a5cb33055419781b7
movenc: Make tkhd "enabled" flag QuickTime compatible

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.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
18 files changed:
libavformat/movenc.c
libavformat/movenc.h
tests/ref/acodec/alac
tests/ref/acodec/pcm-s16be
tests/ref/acodec/pcm-s24be
tests/ref/acodec/pcm-s32be
tests/ref/acodec/pcm-s8
tests/ref/lavf/mov
tests/ref/vsynth/vsynth1-dnxhd-1080i
tests/ref/vsynth/vsynth1-mpeg4
tests/ref/vsynth/vsynth1-prores
tests/ref/vsynth/vsynth1-qtrle
tests/ref/vsynth/vsynth1-svq1
tests/ref/vsynth/vsynth2-dnxhd-1080i
tests/ref/vsynth/vsynth2-mpeg4
tests/ref/vsynth/vsynth2-prores
tests/ref/vsynth/vsynth2-qtrle
tests/ref/vsynth/vsynth2-svq1