summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-07-29 19:04:27 +0200
committerwm4 <wm4@nowhere>2012-07-30 01:42:54 +0200
commit3c986150692e5975a408cec9f2cd852d8a83e3d1 (patch)
tree9f117a91d635eba9355af48c3f8a468e1a9cf6cb /libvo/video_out.c
parent614f847516b7ed98784b8d491a417e037ff2f391 (diff)
downloadmpv-3c986150692e5975a408cec9f2cd852d8a83e3d1.tar.bz2
mpv-3c986150692e5975a408cec9f2cd852d8a83e3d1.tar.xz
vo_gl, vo_gl3: honor global --vsync option
Both VOs will now by default try to set vsync according to the global vsync setting. By default, vsync is enabled, and passing --no-vsync will disable it. The --vsync option used to matter for vo_vesa only, but that VO has been removed.
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r--libvo/video_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 0adc82c090..ce0ccd137a 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -51,7 +51,7 @@ int xinerama_y;
int vo_nomouse_input = 0;
int vo_grabpointer = 1;
int vo_doublebuffering = 1;
-int vo_vsync = 0;
+int vo_vsync = 1;
int vo_fs = 0;
int vo_fsmode = 0;
float vo_panscan = 0.0f;