summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-02-01 00:09:17 +0000
committerRodeo <[email protected]>2012-02-01 00:09:17 +0000
commit29b5e839a306b41279935fa13a41aee9d256c7a0 (patch)
tree23f2ede6881acb26deb965cd8ee1593f295f5d94 /libhb/decavcodec.c
parent446af21bdb70552095e0fd00770c1476f508fdb6 (diff)
Use more correct check to detect 6.0/6.1 input.
The old check didn't cause any issues in practice, but wasn't 100% correct. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4429 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r--libhb/decavcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 3c88be7ed..fd58c5c28 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -215,7 +215,7 @@ static int decavcodecaInit( hb_work_object_t * w, hb_job_t * job )
}
else if( ( !pv->context->channels || !pv->context->channel_layout ) &&
( w->audio->config.in.codec == HB_ACODEC_DCA_HD ) &&
- ( ( w->audio->config.in.channel_layout & HB_INPUT_CH_LAYOUT_3F2R ) == HB_INPUT_CH_LAYOUT_3F2R ) )
+ ( ( w->audio->config.in.channel_layout & ~HB_INPUT_CH_LAYOUT_HAS_LFE ) == HB_INPUT_CH_LAYOUT_3F2R ) )
{
/* XXX: when we are demuxing the stream ourselves, it seems we have no
* channel count/layout info in the context until we decode audio for