diff options
-rwxr-xr-x | Demo/sgi/video/VFile.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Demo/sgi/video/VFile.py b/Demo/sgi/video/VFile.py index 2569a913c4..016115a702 100755 --- a/Demo/sgi/video/VFile.py +++ b/Demo/sgi/video/VFile.py @@ -272,6 +272,8 @@ class VideoParams: def setpf(self, pf): if self.frozen: raise CallError + if type(pf) == type(1): + pf = (pf, pf) if type(pf) is not type(()) or len(pf) <> 2: raise CallError self.packfactor = pf self.setderived() |