diff options
author | jstebbins <[email protected]> | 2010-05-13 14:48:18 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-05-13 14:48:18 +0000 |
commit | 8ed88a9c59f4bd74804290dcc87e7483ce06f896 (patch) | |
tree | 6bc22c0294d03b445427096ac7c08ab50697080c /libhb/decavcodec.c | |
parent | 675c7146fe298cd566fa8e446c762a3ded12e0d7 (diff) |
allow mono mixdown with lame encoder
enable mono mode in lame encoder when mixdown is mono.
use lame_encode_buffer_float instead of lame_encode_buffer_interleave. this
eliminates the clipping issue in lame without reducing the level of the input.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3294 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r-- | libhb/decavcodec.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 0a9f63fec..31c0b751a 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -210,8 +210,6 @@ static int decavcodecInit( hb_work_object_t * w, hb_job_t * job ) pv->downmix = hb_downmix_init(w->audio->config.in.channel_layout, w->audio->config.out.mixdown); hb_downmix_set_chan_map( pv->downmix, &hb_smpte_chan_map, &hb_qt_chan_map ); - if ( w->audio->config.out.codec == HB_ACODEC_LAME ) - hb_downmix_adjust_level( pv->downmix ); } return 0; @@ -1101,8 +1099,6 @@ static int decavcodecviInit( hb_work_object_t * w, hb_job_t * job ) pv->downmix = hb_downmix_init(w->audio->config.in.channel_layout, w->audio->config.out.mixdown); hb_downmix_set_chan_map( pv->downmix, &hb_smpte_chan_map, &hb_qt_chan_map ); - if ( w->audio->config.out.codec == HB_ACODEC_LAME ) - hb_downmix_adjust_level( pv->downmix ); } return 0; |