summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-21 02:18:28 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:46:40 +0300
commit78172918ff4c7df7c9d1305dbfc48a8df409e470 (patch)
tree664cd8c4d580ed5e487ce03f0d5a89ad40965699 /cfg-mplayer.h
parent432e8ff4a568b1040cae43df4aa6a602c86c6162 (diff)
downloadmpv-78172918ff4c7df7c9d1305dbfc48a8df409e470.tar.bz2
mpv-78172918ff4c7df7c9d1305dbfc48a8df409e470.tar.xz
Move vo_screenwidth,vo_screenheight to options struct
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index c094a02859..5b06ed6093 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -173,8 +173,8 @@ const m_option_t mplayer_opts[]={
{"x", &opt_screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
{"y", &opt_screen_size_y, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
// set screen dimensions (when not detectable or virtual!=visible)
- {"screenw", &vo_screenwidth, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
- {"screenh", &vo_screenheight, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
+ INTRANGE("screenw", vo_screenwidth, 0, 4096, CONF_OLD),
+ INTRANGE("screenh", vo_screenheight, 0, 4096, CONF_OLD),
// Geometry string
{"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL},
// set aspect ratio of monitor - useful for 16:9 TV-out