mirror of https://github.com/python/cpython
Added ability to edit compressed movies.
This commit is contained in:
parent
264117295e
commit
dbf71b7b4b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue