summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/Vtime.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-09-29 13:40:47 (GMT)
committerGuido van Rossum <guido@python.org>1992-09-29 13:40:47 (GMT)
commit9e3f335bea3a57481e935d0ec015b4f395b1bc9b (patch)
tree6bc375de1b2bc517d405a067efe64c56c4655a54 /Demo/sgi/video/Vtime.py
parent3165fe6a56c07f4f85f4ea54b69f5b1f243e2463 (diff)
downloadcpython-9e3f335bea3a57481e935d0ec015b4f395b1bc9b.zip
cpython-9e3f335bea3a57481e935d0ec015b4f395b1bc9b.tar.gz
cpython-9e3f335bea3a57481e935d0ec015b4f395b1bc9b.tar.bz2
VFile: added new formats 'jpeg' and 'jpeggrey'. Decompression is done
using module 'jpeg' by the Displayer class. (Unfortunately it's too slow for real time.) Print file size in printinfo() method. Vinfo: added -t option (terse -- one line per file) and usage message. Vtime: use BasicV{in,out}File classes -- the minimum needed. Vmkjpeg, Vunjpeg: new utilities for jpeg (de)compression.
Diffstat (limited to 'Demo/sgi/video/Vtime.py')
-rwxr-xr-xDemo/sgi/video/Vtime.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sgi/video/Vtime.py b/Demo/sgi/video/Vtime.py
index 3096ce1..321e233 100755
--- a/Demo/sgi/video/Vtime.py
+++ b/Demo/sgi/video/Vtime.py
@@ -65,7 +65,7 @@ def main():
def process(infilename, outfilename):
try:
- vin = VFile.VinFile().init(infilename)
+ vin = VFile.BasicVinFile().init(infilename)
except IOError, msg:
sys.stderr.write(infilename + ': I/O error: ' + `msg` + '\n')
return 1
@@ -77,7 +77,7 @@ def process(infilename, outfilename):
return 1
try:
- vout = VFile.VoutFile().init(outfilename)
+ vout = VFile.BasicVoutFile().init(outfilename)
except IOError, msg:
sys.stderr.write(outfilename + ': I/O error: ' + `msg` + '\n')
return 1