예제 #1
0
파일: encode.py 프로젝트: dparker18/Pitivi
 def __init__(self, settings, *args, **kwargs):
     self.settings = settings
     OperationFactory.__init__(self, *args, **kwargs)
     # add input streams according to the settings
     for i in range(len(settings.settings)):
         self.debug("Adding stream %d %r", i, settings.settings[i].input_stream)
         self.addInputStream(settings.settings[i].input_stream)
예제 #2
0
 def addOutputStream(self, stream):
     if len(self.output_streams) > 1:
         raise OperationFactoryError("Can't handle more than one stream")
     return OperationFactory.addOutputStream(self, stream)
예제 #3
0
파일: operation.py 프로젝트: bemasc/pitivi
 def addOutputStream(self, stream):
     return OperationFactory.addOutputStream(self, stream)
예제 #4
0
 def addOutputStream(self, stream):
     if len(self.output_streams) > 1:
         raise OperationFactoryError("Can't handle more than one stream")
     return OperationFactory.addOutputStream(self, stream)
예제 #5
0
 def addOutputStream(self, stream):
     return OperationFactory.addOutputStream(self, stream)