diff options
author | jstebbins <[email protected]> | 2012-08-01 23:05:00 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2012-08-01 23:05:00 +0000 |
commit | ad257c9dac38fe3f7502b1058247b4458465c0a8 (patch) | |
tree | c142e7b68aa0406b64e77a7f844b0622172fc5c9 /libhb/encavcodecaudio.c | |
parent | dbec0d898d37f3b9a1fed8158543115fbdb3ce91 (diff) |
libhb: Allow control of audio mix normalization
Since switching to libavresample for audio mixing, our output
volume levels have been reduced because libavresample
does mix level normalization by default. This change
applies a patch to libav to allow us to disable this behavior
and adds a new field to hb_audio_config_t to allow the
hb frontends to control this feature.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4884 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encavcodecaudio.c')
-rw-r--r-- | libhb/encavcodecaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encavcodecaudio.c b/libhb/encavcodecaudio.c index 28eb0d9ae..ef5297cca 100644 --- a/libhb/encavcodecaudio.c +++ b/libhb/encavcodecaudio.c @@ -119,7 +119,7 @@ static int encavcodecaInit(hb_work_object_t *w, hb_job_t *job) // sample_fmt conversion pv->resample = hb_audio_resample_init(context->sample_fmt, context->channel_layout, - AV_MATRIX_ENCODING_NONE); + AV_MATRIX_ENCODING_NONE, 0); if (hb_audio_resample_update(pv->resample, AV_SAMPLE_FMT_FLT, context->channel_layout, context->channels)) { |