summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-11-04 18:04:14 (GMT)
committerGuido van Rossum <guido@python.org>1991-11-04 18:04:14 (GMT)
commit7d435fee605e341afea6a5118ee4bcc6c2aa09fb (patch)
tree1a708047f0dd240bc7f6ccd534bea4421db70124 /Demo
parent7caf611a0f38d24b9ac9150a5068393b61a4a527 (diff)
downloadcpython-7d435fee605e341afea6a5118ee4bcc6c2aa09fb.zip
cpython-7d435fee605e341afea6a5118ee4bcc6c2aa09fb.tar.gz
cpython-7d435fee605e341afea6a5118ee4bcc6c2aa09fb.tar.bz2
Cosmetics.
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/sgi/video/camcorder.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/Demo/sgi/video/camcorder.py b/Demo/sgi/video/camcorder.py
index 63a4f74..528ff29 100755
--- a/Demo/sgi/video/camcorder.py
+++ b/Demo/sgi/video/camcorder.py
@@ -9,7 +9,7 @@ import posix
import vtime
# Preallocation parameter
-PREALLOC = 8 # Megabyte
+PREALLOC = 4 # Megabyte
# Sync audio parameters
SYNCPORT = 10000
@@ -44,7 +44,6 @@ def prealloc(w, h):
print 'Done.'
def grabframe(f,x,y,w,h,pf):
-#### saveframes(f, w, h, pf)
readsource(SRC_FRONT)
if pf:
w = w/pf*pf
@@ -143,7 +142,7 @@ def main():
f = open(filename, 'w')
w, h = getsize()
realw, realh = w, h
- #doublebuffer()
+ ####doublebuffer()
RGBmode()
gconfig()
qdevice(LEFTMOUSE)
@@ -247,7 +246,7 @@ def main():
rectcopy(vidx+x,vidy+y,vidx+x+w-1,vidy+y+h-1,x,y)
else:
rectcopy(vidx,vidy,vidx+realw-1,vidx+realh-1,0,0)
- #swapbuffers()
+ ####swapbuffers()
if outrunning or outsingle:
nframe = nframe + 1
if not sizewritten: