movenc: add fallback audio track tref support
authorJohn Stebbins <stebbins@jetheaddev.com>
Thu, 5 Nov 2015 17:49:04 +0000 (09:49 -0800)
committerAnton Khirnov <anton@khirnov.net>
Wed, 18 Nov 2015 10:38:03 +0000 (11:38 +0100)
commitca489564ae150bc41764f175b88151d883e69ae0
treea654a3fae6ba0a862b682b39dabe582989c51949
parent79ae1e630b476889c251fc905687a3831b43ab5e
movenc: add fallback audio track tref support

This feature allows making associations between audio tracks
that apple players recognize.  E.g. when an ac3 track has a
tref that points to an aac track, devices that don't support
ac3 will automatically fall back to the aac track.

Apple used to *guess* these associations, but new products
(AppleTV 4) no longer guess and this association can only
be made explicitly now using the "fall" tref.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/movenc.c