From 0da8f8cf72a012d903dce065214183ab29d714df Mon Sep 17 00:00:00 2001 From: ritsuka Date: Sat, 19 Jan 2008 17:37:53 +0000 Subject: 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 --- libhb/muxmp4.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libhb/muxmp4.c') 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)); -- cgit v1.2.3