From afffc15c0fec6680f6a612c729d184d92fbc809c Mon Sep 17 00:00:00 2001 From: jstebbins Date: Mon, 4 Oct 2010 23:16:57 +0000 Subject: Add ac3 encoding Uses ffmpeg's ac3 encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3570 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/deca52.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/deca52.c') diff --git a/libhb/deca52.c b/libhb/deca52.c index 785bf6aef..0958a9139 100644 --- a/libhb/deca52.c +++ b/libhb/deca52.c @@ -259,7 +259,7 @@ static hb_buffer_t * Decode( hb_work_object_t * w ) double frame_dur = (6. * 256. * 90000.) / pv->rate; /* AC3 passthrough: don't decode the AC3 frame */ - if( audio->config.out.codec == HB_ACODEC_AC3 ) + if( audio->config.out.codec == HB_ACODEC_AC3_PASS ) { buf = hb_buffer_init( size ); memcpy( buf->data, pv->frame, size ); -- cgit v1.2.3