diff options
author | jstebbins <[email protected]> | 2011-06-14 01:24:34 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-06-14 01:24:34 +0000 |
commit | d4b5c3e9ea690220fb7e959aed0c68a2e73b0316 (patch) | |
tree | 824b35f6b87a1bab96de73f5bcb0eccf43a5e213 /libhb/bd.c | |
parent | b3b9ef3add434b865c3deed92cb9e04a8703f389 (diff) |
Add DTS-HD passthru \o/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4055 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/bd.c')
-rw-r--r-- | libhb/bd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libhb/bd.c b/libhb/bd.c index 536769307..9231436f6 100644 --- a/libhb/bd.c +++ b/libhb/bd.c @@ -103,7 +103,7 @@ static void add_audio(int track, hb_list_t *list_audio, BLURAY_STREAM_INFO *bdau strlen(lang->native_name) ? lang->native_name : lang->eng_name, audio->config.in.codec == HB_ACODEC_AC3 ? "AC3" : ( audio->config.in.codec == HB_ACODEC_DCA ? "DTS" : - ( audio->config.in.codec == HB_ACODEC_MPGA ? + ( ( audio->config.in.codec & HB_ACODEC_FF_MASK ) ? ( stream_type == BLURAY_STREAM_TYPE_AUDIO_LPCM ? "BD LPCM" : ( stream_type == BLURAY_STREAM_TYPE_AUDIO_AC3PLUS ? "E-AC3" : ( stream_type == BLURAY_STREAM_TYPE_AUDIO_TRUHD ? "TrueHD" : @@ -352,7 +352,7 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration ) add_audio(ii, title->list_audio, bdaudio, HB_SUBSTREAM_BD_AC3, HB_ACODEC_AC3, 0); add_audio(ii, title->list_audio, bdaudio, - HB_SUBSTREAM_BD_TRUEHD, HB_ACODEC_MPGA, CODEC_ID_TRUEHD); + HB_SUBSTREAM_BD_TRUEHD, HB_ACODEC_FFMPEG, CODEC_ID_TRUEHD); break; case BLURAY_STREAM_TYPE_AUDIO_DTS: @@ -362,17 +362,17 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration ) case BLURAY_STREAM_TYPE_AUDIO_MPEG2: case BLURAY_STREAM_TYPE_AUDIO_MPEG1: add_audio(ii, title->list_audio, bdaudio, 0, - HB_ACODEC_MPGA, CODEC_ID_MP2); + HB_ACODEC_FFMPEG, CODEC_ID_MP2); break; case BLURAY_STREAM_TYPE_AUDIO_AC3PLUS: add_audio(ii, title->list_audio, bdaudio, 0, - HB_ACODEC_MPGA, CODEC_ID_EAC3); + HB_ACODEC_FFMPEG, CODEC_ID_EAC3); break; case BLURAY_STREAM_TYPE_AUDIO_LPCM: add_audio(ii, title->list_audio, bdaudio, 0, - HB_ACODEC_MPGA, CODEC_ID_PCM_BLURAY); + HB_ACODEC_FFMPEG, CODEC_ID_PCM_BLURAY); break; case BLURAY_STREAM_TYPE_AUDIO_AC3: @@ -388,7 +388,7 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration ) // DTS-core followed by DTS-hd-extensions. Setting // a substream id of 0 says use all substreams. add_audio(ii, title->list_audio, bdaudio, 0, - HB_ACODEC_MPGA, CODEC_ID_DTS); + HB_ACODEC_DCA_HD, CODEC_ID_DTS); break; default: |