summaryrefslogtreecommitdiffstats
path: root/libhb/deca52.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-05-13 14:48:18 +0000
committerjstebbins <[email protected]>2010-05-13 14:48:18 +0000
commit8ed88a9c59f4bd74804290dcc87e7483ce06f896 (patch)
tree6bc22c0294d03b445427096ac7c08ab50697080c /libhb/deca52.c
parent675c7146fe298cd566fa8e446c762a3ded12e0d7 (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/deca52.c')
-rw-r--r--libhb/deca52.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libhb/deca52.c b/libhb/deca52.c
index 3cb2f3355..785bf6aef 100644
--- a/libhb/deca52.c
+++ b/libhb/deca52.c
@@ -101,8 +101,6 @@ static int deca52Init( hb_work_object_t * w, hb_job_t * job )
work.c has already done some of this deduction for us in do_job() */
pv->flags_out = HB_AMIXDOWN_GET_A52_FORMAT(audio->config.out.mixdown);
- if ( audio->config.out.codec == HB_ACODEC_LAME )
- pv->flags_out |= A52_ADJUST_LEVEL;
/* pass the number of channels used into the private work data */
/* will only be actually used if we're not doing AC3 passthru */