From 41c1749f46e0e36af39be2487ee992cbf18e6679 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 10 Feb 2013 09:50:12 +0100 Subject: core: move `xineramascreen` to `MPOpts` as `vo_screen_id` This is a small cleanup in preparation for the next commit. --- core/cfg-mplayer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/cfg-mplayer.h') 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), -- cgit v1.2.3