diff options
author | wm4 <wm4@nowhere> | 2014-09-21 15:41:33 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-21 15:41:33 +0200 |
commit | 58db0a55f3011cf0dd7dbd5bd8ba105e8abf5c7b (patch) | |
tree | 96b8120e21effd9399346cbb602aee1438802828 /player/command.c | |
parent | 54d1dae68753f9d36b01021313aafc51ca9bd300 (diff) | |
download | mpv-58db0a55f3011cf0dd7dbd5bd8ba105e8abf5c7b.tar.bz2 mpv-58db0a55f3011cf0dd7dbd5bd8ba105e8abf5c7b.tar.xz |
options: remove --volstep
It's just confusing; users are encouraged to edit input.conf instead
(changing the argument to the "add" command).
Update input.conf to keep the old behavior.
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index 5a523663e8..aa6c5f763c 100644 --- a/player/command.c +++ b/player/command.c @@ -1248,7 +1248,7 @@ static int mp_property_volume(void *ctx, struct m_property *prop, if (!mixer_audio_initialized(mpctx->mixer)) return M_PROPERTY_ERROR; struct m_property_switch_arg *sarg = arg; - mixer_addvolume(mpctx->mixer, mpctx->opts->volstep * sarg->inc); + mixer_addvolume(mpctx->mixer, sarg->inc); return M_PROPERTY_OK; } } |