changeset 207:8626c23f4a47

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
author mgraffam
date Sat, 24 Mar 2001 21:34:08 +0000
parents 82b5ae8ceaf4
children ae0f909ccc7c
files cfg-mplayer.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-mplayer.h	Sat Mar 24 21:31:37 2001 +0000
+++ b/cfg-mplayer.h	Sat Mar 24 21:34:08 2001 +0000
@@ -39,6 +39,9 @@
 	{"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},