summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-20 17:14:04 +0100
committerwm4 <wm4@nowhere>2016-01-20 17:14:04 +0100
commitac966ded11e22754ffa43b390e599e4242e29b37 (patch)
tree34f1f5072201263fac366231fbca58a10bb9767c /options
parent930b0d1cf6f2ffa6bf3df516e120a395e1c60342 (diff)
downloadmpv-ac966ded11e22754ffa43b390e599e4242e29b37.tar.bz2
mpv-ac966ded11e22754ffa43b390e599e4242e29b37.tar.xz
audio: change downmix behavior, add --audio-normalize-downmix
This is probably the 3rd time the user-visible behavior changes. This time, switch back because not normalizing seems to be the more expected behavior from users.
Diffstat (limited to 'options')
-rw-r--r--options/options.c1
-rw-r--r--options/options.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 7d376d8f22..49c44cb189 100644
--- a/options/options.c
+++ b/options/options.c
@@ -274,6 +274,7 @@ const m_option_t mp_opts[] = {
OPT_INTRANGE("audio-samplerate", force_srate, 0, 1000, 16*48000),
OPT_CHMAP("audio-channels", audio_output_channels, CONF_MIN, .min = 0),
OPT_AUDIOFORMAT("audio-format", audio_output_format, 0),
+ OPT_FLAG("audio-normalize-downmix", audio_normalize, 0),
OPT_DOUBLE("speed", playback_speed, M_OPT_RANGE | M_OPT_FIXED,
.min = 0.01, .max = 100.0),
diff --git a/options/options.h b/options/options.h
index ea3ee00b30..6ce4be472a 100644
--- a/options/options.h
+++ b/options/options.h
@@ -225,6 +225,7 @@ typedef struct MPOpts {
struct mp_chmap audio_output_channels;
int audio_output_format;
+ int audio_normalize;
int force_srate;
int dtshd;
double playback_speed;