summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-04-18 18:44:01 +0000
committerjstebbins <[email protected]>2009-04-18 18:44:01 +0000
commitf090626988119eef202bfa9eddae7f92d99f3967 (patch)
tree06fd13bf5a2b98ef966db3ce9a778aac494e2b98 /libhb/work.c
parent2776908045cff478bc3d3269978c9c193be8bc1d (diff)
Enable DTS passthru for matroska container
since we have no way to create silent dts frames for insertion to maintain sync, frames from other streams may be dropped when there is a sync problem on the DTS stream git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2339 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libhb/work.c b/libhb/work.c
index b6e4aa6c2..42613c3fb 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -576,7 +576,8 @@ static void do_job( hb_job_t * job, int cpu_count )
/* sense-check the requested mixdown */
if( audio->config.out.mixdown == 0 &&
- audio->config.out.codec != HB_ACODEC_AC3 )
+ audio->config.out.codec != HB_ACODEC_AC3 &&
+ audio->config.out.codec != HB_ACODEC_DCA )
{
/*
* Mixdown wasn't specified and this is not pass-through,
@@ -742,7 +743,8 @@ static void do_job( hb_job_t * job, int cpu_count )
/*
* Audio Encoder Thread
*/
- if( audio->config.out.codec != HB_ACODEC_AC3 )
+ if( audio->config.out.codec != HB_ACODEC_AC3 &&
+ audio->config.out.codec != HB_ACODEC_DCA )
{
/*
* Add the encoder thread if not doing AC-3 pass through