]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added ability to edit compressed movies.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 28 Sep 1993 15:29:18 +0000 (15:29 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 28 Sep 1993 15:29:18 +0000 (15:29 +0000)
Demo/sgi/video/Vedit.py

index d5ef365ae27e710ff0b1962a2fdcaf894762406f..43a67c816f0054d0cd45431979d195d9bcbed7ee 100755 (executable)
@@ -141,6 +141,9 @@ class Editor:
                if self.vout.getinfo() <> self.vin.getinfo():
                        print 'Copying info...'
                        self.vout.setinfo(self.vin.getinfo())
+                       if self.vin.format == 'compress':
+                               self.vout.setcompressheader(\
+                                         self.vin.getcompressheader())
                self.vout.put(data)
                self.oshow()
                self.ishow()