summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-08-01 23:05:00 +0000
committerjstebbins <[email protected]>2012-08-01 23:05:00 +0000
commitad257c9dac38fe3f7502b1058247b4458465c0a8 (patch)
treec142e7b68aa0406b64e77a7f844b0622172fc5c9 /libhb/common.h
parentdbec0d898d37f3b9a1fed8158543115fbdb3ce91 (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/common.h')
-rw-r--r--libhb/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 5b2fc08fa..1650f8002 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -452,6 +452,7 @@ struct hb_audio_config_s
float compression_level; /* Output compression level (encoder-specific) */
double dynamic_range_compression; /* Amount of DRC applied to this track */
double gain; /* Gain (in dB), negative is quieter */
+ int normalize_mix_level; /* mix level normalization (boolean) */
char * name; /* Output track name */
} out;