示例#1
0
文件: edledit.py 项目: mincau/edledit
 def saveEDL(self):
     assert self.edlFileName
     assert self.edl is not None
     self.edl.normalize(timedelta(milliseconds=self.ui.player.totalTime()))
     pyedl.dump(self.edl, open(self.edlFileName, "w"))
     self.edlChanged(dirty=False)
示例#2
0
文件: edledit.py 项目: UIKit0/edledit
 def saveEDL(self):
     assert self.edlFileName
     assert self.edl is not None
     self.edl.normalize(timedelta(milliseconds=self.ui.player.totalTime()))
     pyedl.dump(self.edl, open(self.edlFileName, "w"))
     self.edlChanged(dirty=False)
示例#3
0
 def on_save(self, button):
   self.edl.normalize(timedelta(seconds=self.duration / Gst.SECOND))
   pyedl.dump(self.edl, open(self.edlfile, "w"))