summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-12 15:06:04 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-12 15:06:04 +0000
commite403e9fe9c1b0740f6423d0ed95554294fde5076 (patch)
tree0f1e2060a400ff7e9f180aabd9be648be852b3be /cfg-mplayer.h
parent54b4b5ffe092df9063ee3fc67a6a7f341e1f2f79 (diff)
downloadmpv-e403e9fe9c1b0740f6423d0ed95554294fde5076.tar.bz2
mpv-e403e9fe9c1b0740f6423d0ed95554294fde5076.tar.xz
add vsync support for doublebuffering to vo_vesa
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4668 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index c547639ffb..67aa5cf7fb 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -37,6 +37,7 @@ extern char *lirc_configfile;
#ifndef USE_LIBVO2
extern int vo_doublebuffering;
+extern int vo_vsync;
extern int vo_fsmode;
extern int vo_dbpp;
/* gamma correction */
@@ -248,6 +249,8 @@ static config_t mplayer_opts[]={
{"fsmode", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 15, NULL},
{"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+ {"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{"brightness",&vo_gamma_brightness, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},
{"saturation",&vo_gamma_saturation, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},
{"contrast",&vo_gamma_contrast, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},