Example #1
0
 def __init__(self, description):
     subprocess_caller.__init__(self, description)
     self.state = "stopped"
     self.codec = "unknown"
     self.codec_description = ""
     self.info = {}
     #hook some default packet handlers:
     self.connect("state-changed", self.state_changed)
     self.connect("info", self.info_update)
     self.connect("signal", self.subprocess_signal)
Example #2
0
 def __init__(self, description):
     subprocess_caller.__init__(self, description)
     self.state = "stopped"
     self.codec = "unknown"
     self.codec_description = ""
     self.info = {}
     #hook some default packet handlers:
     self.connect("state-changed", self.state_changed)
     self.connect("info", self.info_update)
     self.connect("signal", self.subprocess_signal)