mirror of
https://github.com/python/cpython.git
synced 2025-11-27 13:45:25 +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():
|
if self.vout.getinfo() <> self.vin.getinfo():
|
||||||
print 'Copying info...'
|
print 'Copying info...'
|
||||||
self.vout.setinfo(self.vin.getinfo())
|
self.vout.setinfo(self.vin.getinfo())
|
||||||
|
if self.vin.format == 'compress':
|
||||||
|
self.vout.setcompressheader(\
|
||||||
|
self.vin.getcompressheader())
|
||||||
self.vout.put(data)
|
self.vout.put(data)
|
||||||
self.oshow()
|
self.oshow()
|
||||||
self.ishow()
|
self.ishow()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue