summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorritsuka <[email protected]>2008-01-19 17:37:53 +0000
committerritsuka <[email protected]>2008-01-19 17:37:53 +0000
commit0da8f8cf72a012d903dce065214183ab29d714df (patch)
treedcb335832e611518a773f0dc847e36f765aa3dee /libhb
parentbce59a114ef5a213a4fe4e07790b25986b49d222 (diff)
Set the alternate group for the audio tracks. Does only work when building with jam, contrib pack is not updated yet.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1214 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/muxmp4.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c
index adbd2c55a..989bb9607 100644
--- a/libhb/muxmp4.c
+++ b/libhb/muxmp4.c
@@ -320,6 +320,9 @@ static int MP4Init( hb_mux_object_t * m )
reserved2[9] = (u_int8_t)HB_AMIXDOWN_GET_DISCRETE_CHANNEL_COUNT(audio->amixdown);
MP4SetTrackBytesProperty(m->file, mux_data->track, "mdia.minf.stbl.stsd.mp4a.reserved2", reserved2, sizeof(reserved2));
+ /* Set the audio track alternate group */
+ MP4SetTrackIntegerProperty(m->file, mux_data->track, "tkhd.alternate_group", 1);
+
/* If we ever upgrade mpeg4ip, the line above should be replaced with the line below.*/
// MP4SetTrackIntegerProperty(m->file, mux_data->track, "mdia.minf.stbl.stsd.mp4a.channels", (u_int16_t)HB_AMIXDOWN_GET_DISCRETE_CHANNEL_COUNT(audio->amixdown));