summaryrefslogtreecommitdiffstats
path: root/core/cfg-mplayer.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-02-10 09:50:12 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-02-21 22:23:08 +0100
commit41c1749f46e0e36af39be2487ee992cbf18e6679 (patch)
treebe025ef8861bed3f6ce95685044ba45c807b971f /core/cfg-mplayer.h
parent08952f23dd4b069990b027dc06b10affcb4bc361 (diff)
downloadmpv-41c1749f46e0e36af39be2487ee992cbf18e6679.tar.bz2
mpv-41c1749f46e0e36af39be2487ee992cbf18e6679.tar.xz
core: move `xineramascreen` to `MPOpts` as `vo_screen_id`
This is a small cleanup in preparation for the next commit.
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r--core/cfg-mplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 621d026d0d..23c4bedee8 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -612,8 +612,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},
- {"screen", &xinerama_screen, CONF_TYPE_CHOICE, CONF_RANGE,
- .min = 0, .max = 32, M_CHOICES(({"all", -2}, {"current", -1}))},
+ OPT_CHOICE_OR_INT("screen", vo_screen_id, 0, 0, 32,
+ ({"all", -2}, {"current", -1})),
OPT_INTRANGE("brightness", vo_gamma_brightness, 0, -100, 100),
OPT_INTRANGE("saturation", vo_gamma_saturation, 0, -100, 100),