summaryrefslogtreecommitdiffstats
path: root/core/cfg-mplayer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-09 02:41:46 +0200
committerwm4 <wm4@nowhere>2013-04-09 02:41:46 +0200
commitafbf29da1ac18a78931dd21b49b2504a528a92a9 (patch)
treeaacde77c3828fe0f2b3a3094cfcd0958b1e9c9e7 /core/cfg-mplayer.h
parentdddb4e5ebdaa419115bb35a3a540818a5fcfbb0a (diff)
downloadmpv-afbf29da1ac18a78931dd21b49b2504a528a92a9.tar.bz2
mpv-afbf29da1ac18a78931dd21b49b2504a528a92a9.tar.xz
core: remove volstep global variable
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r--core/cfg-mplayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index a85f83ac36..dd99e6c4bd 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -543,7 +543,7 @@ const m_option_t mplayer_opts[]={
{"yes", SOFTVOL_YES},
{"auto", SOFTVOL_AUTO})),
OPT_FLOATRANGE("softvol-max", softvol_max, 0, 10, 10000),
- {"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
+ OPT_INTRANGE("volstep", volstep, 0, 0, 100),
OPT_FLOATRANGE("volume", mixer_init_volume, 0, -1, 10000),
OPT_CHOICE("mute", mixer_init_mute, M_OPT_OPTIONAL_PARAM,
({"auto", -1},