From d4b5c3e9ea690220fb7e959aed0c68a2e73b0316 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Tue, 14 Jun 2011 01:24:34 +0000 Subject: Add DTS-HD passthru \o/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4055 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/common.c') diff --git a/libhb/common.c b/libhb/common.c index 2d5963d76..5f3ce49f8 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -1226,7 +1226,7 @@ int hb_audio_add(const hb_job_t * job, const hb_audio_config_t * audiocfg) */ audio->config.out.track = hb_list_count(job->list_audio) + 1; audio->config.out.codec = audiocfg->out.codec; - if( (audiocfg->out.codec & HB_ACODEC_MASK) == audio->config.in.codec && + if( (audiocfg->out.codec & HB_ACODEC_MASK) == (audio->config.in.codec & HB_ACODEC_MASK) && (audiocfg->out.codec & HB_ACODEC_PASS_FLAG ) ) { /* Pass-through, copy from input. */ -- cgit v1.2.3