diff options
author | wm4 <wm4@nowhere> | 2012-11-15 15:32:55 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-16 21:21:15 +0100 |
commit | a540881571e85be8bf3fd1d1d20a332645c97b92 (patch) | |
tree | 32b7c44aec0649e82b4ad335d5f8afca5d731f0e /core/cfg-mplayer.h | |
parent | dc0e610677cbffd543c035f271ed951ebd7334f1 (diff) | |
download | mpv-a540881571e85be8bf3fd1d1d20a332645c97b92.tar.bz2 mpv-a540881571e85be8bf3fd1d1d20a332645c97b92.tar.xz |
options: rename --xineramascreen to --screen, remove magic values
--xineramascreen=-2 becomes --screen=all
--xineramascreen=-1 becomes --screen=current
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r-- | core/cfg-mplayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index 5bc07c8f34..aa5e8d66de 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -636,7 +636,8 @@ const m_option_t mplayer_opts[]={ {"heartbeat-cmd", &heartbeat_cmd, CONF_TYPE_STRING, 0, 0, 0, NULL}, {"mouseinput", &vo_nomouse_input, CONF_TYPE_FLAG, 0, 1, 0, NULL}, - {"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, -2, 32, NULL}, + {"screen", &xinerama_screen, CONF_TYPE_CHOICE, CONF_RANGE, + .min = 0, .max = 32, M_CHOICES(({"all", -2}, {"current", -1}))}, OPT_INTRANGE("brightness", vo_gamma_brightness, 0, -100, 100), OPT_INTRANGE("saturation", vo_gamma_saturation, 0, -100, 100), |