def close(self):
PlayerSource.close(self)
if self.io_watcher_id is not None:
gobject.source_remove(self.io_watcher_id)
self.io_watcher_id = None
if self.data:
self.data.close()
self.data = None
if self.control:
self.control.close()
self.control = None
if self.fifo:
self.fifo.close()
self.fifo = None
self.fifo_name = None
return True
# close()
# PlayerSourceGMythStreamer
评论列表
文章目录