diff options
author | Rodeo <[email protected]> | 2015-02-15 22:48:46 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-02-15 22:48:46 +0000 |
commit | 3adcd92b35be6fb8940c5f249112a263c7ec0ed9 (patch) | |
tree | 49dfe2e1b269be7a0238fa3c5367899da783451a /libhb/scan.c | |
parent | 901d81b2b980c3afa7e14f434cc8ffd092cc750e (diff) |
New audio output options.
Dolby Digital Plus (E-AC-3), Dolby TrueHD and FLAC can now be passed through without re-encoding. They aren't covered by Auto Passthru yet, however.
In addition, encoding to E-AC-3 is now possible.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6908 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/scan.c')
-rw-r--r-- | libhb/scan.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libhb/scan.c b/libhb/scan.c index d116f6815..55c9bfc90 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -1121,6 +1121,7 @@ static void LookForAudio( hb_title_t * title, hb_buffer_t * b ) hb_fifo_close( &audio->priv.scan_cache ); audio->config.in.samplerate = info.rate.num; + audio->config.in.sample_bit_depth = info.sample_bit_depth; audio->config.in.samples_per_frame = info.samples_per_frame; audio->config.in.bitrate = info.bitrate; audio->config.in.matrix_encoding = info.matrix_encoding; @@ -1189,6 +1190,15 @@ static void LookForAudio( hb_title_t * title, hb_buffer_t * b ) { switch (audio->config.in.codec) { + case HB_ACODEC_AC3: + codec_name = "AC3"; + break; + case HB_ACODEC_FFEAC3: + codec_name = "E-AC3"; + break; + case HB_ACODEC_FFTRUEHD: + codec_name = "TrueHD"; + break; case HB_ACODEC_DCA: codec_name = "DTS"; break; @@ -1198,6 +1208,9 @@ static void LookForAudio( hb_title_t * title, hb_buffer_t * b ) case HB_ACODEC_FFAAC: codec_name = "AAC"; break; + case HB_ACODEC_FFFLAC: + codec_name = "FLAC"; + break; case HB_ACODEC_MP3: codec_name = "MP3"; break; |