summaryrefslogtreecommitdiffstats
path: root/libhb/deca52.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2008-02-16 01:13:09 +0000
committereddyg <[email protected]>2008-02-16 01:13:09 +0000
commitd6308581fa42b2c7503430c0fb8c3d9a828edb50 (patch)
tree2cd868f10e943bd612ebe21e2589322040eff83f /libhb/deca52.c
parent0b8c4601d56a6cc153d3543b782a975a0e725fc4 (diff)
Allow mac gui to select AC-3 + AAC at the same time, still needs CLI work for the same.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1267 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/deca52.c')
-rw-r--r--libhb/deca52.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/deca52.c b/libhb/deca52.c
index 116ec7698..55d7b836d 100644
--- a/libhb/deca52.c
+++ b/libhb/deca52.c
@@ -215,7 +215,8 @@ static hb_buffer_t * Decode( hb_work_object_t * w )
hb_list_getbytes( pv->list, pv->frame, pv->size, &pts, &pos );
/* AC3 passthrough: don't decode the AC3 frame */
- if( pv->job->acodec & HB_ACODEC_AC3 )
+ if( pv->job->acodec & HB_ACODEC_AC3 ||
+ w->amixdown == HB_AMIXDOWN_AC3 )
{
buf = hb_buffer_init( pv->size );
memcpy( buf->data, pv->frame, pv->size );