1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-01 03:40:43 +00:00

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
This commit is contained in:
mgraffam 2001-03-24 21:34:08 +00:00
parent d1b372c1a2
commit c18846af07

View File

@ -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},