gstreamer python binding memory leak
neil
yannian89 at 163.com
Fri Oct 25 06:30:54 UTC 2019
Hi Stephenwei:
Thanks for your reply very much.
Every pipeline contains a bus by default, so I got the bus and add a
signal_watch while creating the pipelien using the following snippet.
self.pipeline = Gst.Pipeline.new("test-pipeline")
self.bus = self.pipeline.get_bus()
self.bus.add_signal_watch()
I remove the signal_watch after setting the pipeline to NULL like this:
ret = self.pipeline.set_state(Gst.State.NULL)
self.bus.remove_signal_watch()
Could you tell me what do you mean to close the bus? Thanks
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list