summaryrefslogtreecommitdiffstats
path: root/libhb/bd.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/bd.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/bd.c')
-rw-r--r--libhb/bd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libhb/bd.c b/libhb/bd.c
index a5dd53887..8ec0fcb49 100644
--- a/libhb/bd.c
+++ b/libhb/bd.c
@@ -426,7 +426,8 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration )
break;
case BLURAY_STREAM_TYPE_AUDIO_DTS:
- add_audio(ii, title->list_audio, bdaudio, 0, HB_ACODEC_DCA, 0);
+ add_audio(ii, title->list_audio, bdaudio, 0, HB_ACODEC_DCA,
+ CODEC_ID_DTS);
break;
case BLURAY_STREAM_TYPE_AUDIO_MPEG2:
@@ -453,7 +454,7 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration )
case BLURAY_STREAM_TYPE_AUDIO_DTSHD:
// Add 2 audio tracks. One for DTS-HD and one for DTS
add_audio(ii, title->list_audio, bdaudio, HB_SUBSTREAM_BD_DTS,
- HB_ACODEC_DCA, 0);
+ HB_ACODEC_DCA, CODEC_ID_DTS);
// DTS-HD is special. The substreams must be concatinated
// DTS-core followed by DTS-hd-extensions. Setting
// a substream id of 0 says use all substreams.