summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/VFile.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-12-09 22:16:35 (GMT)
committerGuido van Rossum <guido@python.org>1992-12-09 22:16:35 (GMT)
commitff3da0502f6b866930b794d971ba5e9daeb594c5 (patch)
tree0051b21a0c569866ffeab4d6b669aabba4feaf22 /Demo/sgi/video/VFile.py
parent8ed294150e62df914b023eefe2095359d76ec9ea (diff)
downloadcpython-ff3da0502f6b866930b794d971ba5e9daeb594c5.zip
cpython-ff3da0502f6b866930b794d971ba5e9daeb594c5.tar.gz
cpython-ff3da0502f6b866930b794d971ba5e9daeb594c5.tar.bz2
Microscopic changes, comments/messages changed.
Real important: turn off FIELDDROP in Vrec.
Diffstat (limited to 'Demo/sgi/video/VFile.py')
-rwxr-xr-xDemo/sgi/video/VFile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Demo/sgi/video/VFile.py b/Demo/sgi/video/VFile.py
index 6443fb6..a5d1d92 100755
--- a/Demo/sgi/video/VFile.py
+++ b/Demo/sgi/video/VFile.py
@@ -538,6 +538,8 @@ def readfileheader(fp, filename):
format, rest = eval(line[:-1])
except:
raise Error, filename + ': Bad 3.0 color info'
+ if format == 'xrgb8':
+ format = 'rgb8' # rgb8 upside-down, for X
if format in ('rgb', 'jpeg'):
c0bits = c1bits = c2bits = 0
chrompack = 0