summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/Vrec.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sgi/video/Vrec.py')
-rwxr-xr-xDemo/sgi/video/Vrec.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Demo/sgi/video/Vrec.py b/Demo/sgi/video/Vrec.py
index 867c404..69b0102 100755
--- a/Demo/sgi/video/Vrec.py
+++ b/Demo/sgi/video/Vrec.py
@@ -123,6 +123,11 @@ def main():
print x, 'x', y
v.SetSize(x, y)
+
+ # VERY IMPORTANT (for PAL at least): don't drop fields!
+ param = [SV.FIELDDROP, 0]
+ v.SetParam(param)
+
v.BindGLWindow(win, SV.IN_REPLACE)
gl.qdevice(DEVICE.LEFTMOUSE)