0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

New switches for sdl added.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@637 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmosfear 2001-04-25 20:44:30 +00:00
parent fc7355bf9d
commit 15f4d93694

View File

@ -13,6 +13,12 @@ extern char *monitor_dotclock_str;
#ifdef HAVE_PNG
extern int z_compression;
#endif
#ifdef HAVE_SDL
extern char *sdl_driver;
extern int sdl_noxv;
extern int sdl_forcexv;
#endif
extern int vo_dbpp;
struct config conf[]={
@ -85,7 +91,11 @@ struct config conf[]={
#ifdef HAVE_PNG
{"z", &z_compression, CONF_TYPE_INT, CONF_RANGE, 0, 10},
#endif
#ifdef HAVE_SDL
{"sdl", &sdl_driver, CONF_TYPE_STRING, 0, 0, 0},
{"noxv", &sdl_noxv, CONF_TYPE_FLAG, 0, 0, 1},
{"forcexv", &sdl_forcexv, CONF_TYPE_FLAG, 0, 0, 1},
#endif
{"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},