summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-12-24 11:37:21 (GMT)
committerGuido van Rossum <guido@python.org>1992-12-24 11:37:21 (GMT)
commitf1ceba61a46012ca854f0da43877480d2478009e (patch)
tree0467f9ea1dc451e2b3a14f2464aa04bfdcd579df /Demo/sgi/video
parent6e0e668d1c01e8d980ce50e3dc085e6412539094 (diff)
downloadcpython-f1ceba61a46012ca854f0da43877480d2478009e.zip
cpython-f1ceba61a46012ca854f0da43877480d2478009e.tar.gz
cpython-f1ceba61a46012ca854f0da43877480d2478009e.tar.bz2
setsize has two arguments: width, height.
Diffstat (limited to 'Demo/sgi/video')
-rwxr-xr-xDemo/sgi/video/VFile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/sgi/video/VFile.py b/Demo/sgi/video/VFile.py
index 3d2bd8c..daba6a0 100755
--- a/Demo/sgi/video/VFile.py
+++ b/Demo/sgi/video/VFile.py
@@ -246,8 +246,8 @@ class VideoParams:
# Set the frame width and height (e.g. from gl.getsize())
- def setsize(self, size):
- self.width, self.height = size
+ def setsize(self, width, height):
+ self.width, self.height = width, height
# Retrieve the frame width and height (e.g. for gl.prefsize())
@@ -800,7 +800,7 @@ class BasicVinFile(VideoParams):
def setinfo(self, values):
raise CallError # Can't change info of input file!
- def setsize(self, size):
+ def setsize(self, width, height):
raise CallError # Can't change info of input file!
def rewind(self):