summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-16 19:12:02 +0200
committerwm4 <wm4@nowhere>2014-09-16 19:12:02 +0200
commit60f5e53f605325c69a4861f732a2c1d51d5ba820 (patch)
treee2c18ffa95acc6d3c7749688eb891273e6f9bc6d
parentd83a9f7f03c41d9138390ffe7789e5bb7d3e7ac2 (diff)
downloadmpv-60f5e53f605325c69a4861f732a2c1d51d5ba820.tar.bz2
mpv-60f5e53f605325c69a4861f732a2c1d51d5ba820.tar.xz
options: change --volstep to 2
With default settings, this allows you to hit the 100% mark (with default --softvol-max in the middle) even if you've reached min or max volume before. This is because 50 is not divisible by 3 (old default) but by 2 (new default). Not really sure why there still can be issues with higher --softvol-max and --volstep=1, but this is where I stop caring.
-rw-r--r--DOCS/man/options.rst2
-rw-r--r--options/options.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 413e5ca5ee..2a1bf8ded1 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -975,7 +975,7 @@ Audio
``--volstep=<0-100>``
Set the step size of mixer volume changes in percent of the full range
- (default: 3).
+ (default: 2).
``--audiodrop``
If video is by more than 500 ms behind, insert 500 ms of silence, to make up
diff --git a/options/options.c b/options/options.c
index d22aebb28a..a57b5fffb4 100644
--- a/options/options.c
+++ b/options/options.c
@@ -558,7 +558,7 @@ const struct MPOpts mp_default_opts = {
.softvol_max = 200,
.mixer_init_volume = -1,
.mixer_init_mute = -1,
- .volstep = 3,
+ .volstep = 2,
.gapless_audio = -1,
.audio_buffer = 0.2,
.vo = {