mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +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:
parent
fc7355bf9d
commit
15f4d93694
@ -13,6 +13,12 @@ extern char *monitor_dotclock_str;
|
|||||||
#ifdef HAVE_PNG
|
#ifdef HAVE_PNG
|
||||||
extern int z_compression;
|
extern int z_compression;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_SDL
|
||||||
|
extern char *sdl_driver;
|
||||||
|
extern int sdl_noxv;
|
||||||
|
extern int sdl_forcexv;
|
||||||
|
#endif
|
||||||
|
|
||||||
extern int vo_dbpp;
|
extern int vo_dbpp;
|
||||||
|
|
||||||
struct config conf[]={
|
struct config conf[]={
|
||||||
@ -85,7 +91,11 @@ struct config conf[]={
|
|||||||
#ifdef HAVE_PNG
|
#ifdef HAVE_PNG
|
||||||
{"z", &z_compression, CONF_TYPE_INT, CONF_RANGE, 0, 10},
|
{"z", &z_compression, CONF_TYPE_INT, CONF_RANGE, 0, 10},
|
||||||
#endif
|
#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},
|
{"x", &screen_size_x, CONF_TYPE_INT, CONF_RANGE, 1, 4096},
|
||||||
{"y", &screen_size_y, 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},
|
{"xy", &screen_size_xy, CONF_TYPE_INT, CONF_RANGE, 1, 4096},
|
||||||
|
Loading…
Reference in New Issue
Block a user