summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-27 10:05:39 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-27 10:05:39 +0000
commit85626ef1aada82f4628101534200927ba54ed6c7 (patch)
treeabeceffddb91e04077a81d7c6fdfcc0cfd6745f7 /libvo/vo_xv.c
parent189e0d00a625fc3dc03adcbb196a1604074a329f (diff)
downloadmpv-85626ef1aada82f4628101534200927ba54ed6c7.tar.bz2
mpv-85626ef1aada82f4628101534200927ba54ed6c7.tar.xz
Try to set XV_SYNC_TO_VBLANK to enable vsync on non-overlay xv adapters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15827 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index e485743dae..a3853d1cca 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -917,6 +917,7 @@ static uint32_t preinit(const char *arg)
{
return -1; // bail out, colorkey setup failed
}
+ vo_xv_enable_vsync();
fo = XvListImageFormats(mDisplay, xv_port, (int *) &formats);