--- globalsettings.cpp.orig	2005-05-24 13:19:56.000000000 -0700
+++ globalsettings.cpp	2005-05-25 22:10:35.000000000 -0700
@@ -2109,6 +2109,19 @@
     return gc;
 }
 
+#ifdef USING_OPENGL_VSYNC
+static HostCheckBox *UseOpenGLVSync()
+{
+    HostCheckBox *gc = new HostCheckBox("UseOpenGLVSync");
+    gc->setLabel(QObject::tr("Enable OpenGL vertical sync for timing"));
+    gc->setHelpText(QObject::tr("If it is supported by your hardware/drivers, "
+        "MythTV will use OpenGL vertical syncing for video timing, reducing "
+        "jittering and tearing."));
+    gc->setValue(false);
+    return gc;
+}
+#endif
+
 #ifdef USING_XVMC
 static HostCheckBox *UseXVMC()
 {
@@ -2161,6 +2174,10 @@
 
          addTarget("0", new VerticalConfigurationGroup(true));
 
+#ifdef USING_OPENGL_VSYNC
+         HostCheckBox *use_opengl_vsync = UseOpenGLVSync();
+         addChild(use_opengl_vsync);
+#endif
 #ifdef USING_XVMC
          HostCheckBox *use_xvmc = UseXVMC();
          addChild(use_xvmc);
