summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/VFile.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-02-16 16:10:02 (GMT)
committerGuido van Rossum <guido@python.org>1993-02-16 16:10:02 (GMT)
commit9b86e1f5f0656375b5aa38ddfb9fe8ea6a9aa0d4 (patch)
treee8904a9814e76f05965017b5e0f678bb298bba24 /Demo/sgi/video/VFile.py
parent4e2a4278e8b7b0665b5bebd928b3303cf2e616fa (diff)
downloadcpython-9b86e1f5f0656375b5aa38ddfb9fe8ea6a9aa0d4.zip
cpython-9b86e1f5f0656375b5aa38ddfb9fe8ea6a9aa0d4.tar.gz
cpython-9b86e1f5f0656375b5aa38ddfb9fe8ea6a9aa0d4.tar.bz2
VFile.py: fix bogus getrandomframe().
Vedit.py, VeditForm.fd: added scroll bar, Trunc, layout rearrangement. Viewer.py: added random access, qinfo() function.
Diffstat (limited to 'Demo/sgi/video/VFile.py')
-rwxr-xr-xDemo/sgi/video/VFile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sgi/video/VFile.py b/Demo/sgi/video/VFile.py
index 9e1eb36..c61ac04 100755
--- a/Demo/sgi/video/VFile.py
+++ b/Demo/sgi/video/VFile.py
@@ -978,8 +978,8 @@ class RandomVinFile(BasicVinFile):
def getrandomframe(self, i):
t, ds, cs = self.getrandomframeheader(i)
- data, cdata = self.getnextframedata()
- return t, ds, cs
+ data, cdata = self.getnextframedata(ds, cs)
+ return t, data, cdata
def getrandomframeheader(self, i):
if i < 0: raise ValueError, 'negative frame index'