summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-07-15 19:47:01 +0000
committerjstebbins <[email protected]>2012-07-15 19:47:01 +0000
commit10e3e70a28305f08eb5298c46e26eb6537ea08c8 (patch)
treee95b56f75297082db3a6719d4d0ef337c2f46a56 /libhb/work.c
parent62cbe39e294565f429411d8293aa64c41a9d1b30 (diff)
Use libav for dts audio decoding instead of libdca
libdca has no advantage over libav for dts audio decoding. It doesn't do drc and it's downmix capabilities are actually inferior to libav. So this completely removes libdca from libhb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4844 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 62d63ee3b..f0e128b92 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -9,7 +9,6 @@
#include "hb.h"
#include "a52dec/a52.h"
-#include "dca.h"
#include "libavformat/avformat.h"
typedef struct
@@ -117,7 +116,6 @@ hb_work_object_t * hb_codec_decoder( int codec )
switch( codec )
{
case HB_ACODEC_AC3: return hb_get_work( WORK_DECA52 );
- case HB_ACODEC_DCA: return hb_get_work( WORK_DECDCA );
case HB_ACODEC_LPCM: return hb_get_work( WORK_DECLPCM );
default:
if ( codec & HB_ACODEC_FF_MASK )
@@ -438,10 +436,7 @@ void hb_display_job_info( hb_job_t * job )
hb_log( " + decoder: %s (track %d, id 0x%x)", audio->config.lang.description, audio->config.in.track + 1, audio->id );
- if( ( audio->config.in.codec == HB_ACODEC_AC3 ) || ( audio->config.in.codec == HB_ACODEC_DCA) )
- {
- hb_log( " + bitrate: %d kbps, samplerate: %d Hz", audio->config.in.bitrate / 1000, audio->config.in.samplerate );
- }
+ hb_log( " + bitrate: %d kbps, samplerate: %d Hz", audio->config.in.bitrate / 1000, audio->config.in.samplerate );
if( audio->config.out.codec & HB_ACODEC_PASS_FLAG )
{