summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/VFile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sgi/video/VFile.py')
-rwxr-xr-xDemo/sgi/video/VFile.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Demo/sgi/video/VFile.py b/Demo/sgi/video/VFile.py
index 46f8547..e6191ab 100755
--- a/Demo/sgi/video/VFile.py
+++ b/Demo/sgi/video/VFile.py
@@ -255,11 +255,6 @@ class VideoParams:
def setpf(self, pf):
if self.frozen: raise CallError
-## if type(pf) is type(0):
-## if pf == 0:
-## pf = (1, 1)
-## else:
-## pf = (pf, pf)
if type(pf) is not type(()) or len(pf) <> 2: raise CallError
self.packfactor = pf
self.setderived()
@@ -707,10 +702,6 @@ def writefileheader(fp, values):
#
# Write frame geometry info
#
- if format in ('rgb', 'jpeg'):
- packfactor = 0
- elif packfactor == 0:
- packfactor = 1
data = (width, height, packfactor)
fp.write(`data`+'\n')