def start_tracker(self): print "Starting the pipeline" if not hasattr(self, "pipeline"): self.pipeline = lightTrackerPipeline().getTrackerPipeline() self.pipeline.set_state(gst.STATE_PLAYING)
def __init__(self, loop, bus_name, object_path="/SomaTracker"): dbus.service.Object.__init__(self, bus_name, object_path) self.pipeline = lightTrackerPipeline().getTrackerPipeline() self.loop = loop