mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Added ability to edit compressed movies.
This commit is contained in:
parent
264117295e
commit
dbf71b7b4b
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue