From c18846af072dd295100a2abd895dbb1d13ea6512 Mon Sep 17 00:00:00 2001 From: mgraffam Date: Sat, 24 Mar 2001 21:34:08 +0000 Subject: [PATCH] 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 --- cfg-mplayer.h | 3 +++ 1 file changed, 3 insertions(+) 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},