Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dbf71b7

Browse files
committed
Added ability to edit compressed movies.
1 parent 2641172 commit dbf71b7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Demo/sgi/video/Vedit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ def cb_copy(self, *args):
141141
if self.vout.getinfo() <> self.vin.getinfo():
142142
print 'Copying info...'
143143
self.vout.setinfo(self.vin.getinfo())
144+
if self.vin.format == 'compress':
145+
self.vout.setcompressheader(\
146+
self.vin.getcompressheader())
144147
self.vout.put(data)
145148
self.oshow()
146149
self.ishow()

0 commit comments

Comments
 (0)