summaryrefslogtreecommitdiffstats
path: root/libhb/muxmp4.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-05-27 13:38:41 +0000
committerRodeo <[email protected]>2012-05-27 13:38:41 +0000
commitf2ffde5fff6540a84bca511a67ad7468c25aab81 (patch)
tree1026ba45c33da4d752b50fa9a11d4eff4269e46a /libhb/muxmp4.c
parentc906e05b28bae440471dd2a816627b9852eed3e8 (diff)
decdca: attempt to fix Dolby Surround and Pro Logic II mixdown. We were doing it wrong in some cases.
This means Dolby Pro Logic II is now only available for sources with at least L, R, C, Ls, Rs channels (as well as any additional channels), due to some libdca limitations. This will eventually go away when we use our own downmixing for all sources. Further cleanup to follow. Also cleans up usage of audio->config.in.flags (was audio->config.flags.*). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4705 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxmp4.c')
-rw-r--r--libhb/muxmp4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c
index cad1d3944..df55db7fd 100644
--- a/libhb/muxmp4.c
+++ b/libhb/muxmp4.c
@@ -282,8 +282,8 @@ static int MP4Init( hb_mux_object_t * m )
if ( audio->config.out.codec & HB_ACODEC_PASS_FLAG )
{
bsmod = audio->config.in.mode;
- acmod = audio->config.flags.ac3 & 0x7;
- lfeon = (audio->config.flags.ac3 & A52_LFE) ? 1 : 0;
+ acmod = audio->config.in.flags & 0x7;
+ lfeon = ( audio->config.in.flags & A52_LFE ) ? 1 : 0;
freq = audio->config.in.samplerate;
bitrate = audio->config.in.bitrate;
}