summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authormgraffam <mgraffam@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-24 21:34:08 +0000
committermgraffam <mgraffam@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-24 21:34:08 +0000
commitc18846af072dd295100a2abd895dbb1d13ea6512 (patch)
treeffd8107f0052d00acd6da45a86233468871167aa /cfg-mplayer.h
parentd1b372c1a2d1d46be7c25d93d2cf801c16da6426 (diff)
downloadmpv-c18846af072dd295100a2abd895dbb1d13ea6512.tar.bz2
mpv-c18846af072dd295100a2abd895dbb1d13ea6512.tar.xz
Addes a -vm option, which when used together with -fs and -vo x11 will
use the XF86VidMode code as added to vo_x11.c. If -fs is not specified, or if using another output driver, this code does not affect the program operation. Added by mgraffam git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@208 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index c9c68f1c70..0f14e3cafc 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -39,6 +39,9 @@ struct config conf[]={
{"x", &screen_size_x, CONF_TYPE_INT, CONF_RANGE, 1, 4096},
{"y", &screen_size_y, CONF_TYPE_INT, CONF_RANGE, 1, 4096},
{"xy", &screen_size_xy, CONF_TYPE_INT, CONF_RANGE, 1, 4096},
+#ifdef HAVE_XF86VM
+ {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1},
+#endif
{"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1},
{"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0},
{"idx", &no_index, CONF_TYPE_FLAG, 0, 1, 0},