GNOME Bugzilla – Bug 741198
playbin: leaks GstPads
Last modified: 2014-12-12 15:58:08 UTC
Created attachment 292240 [details] python example Doing a create/play/destroy cycle of playbin leaks memory. Using the new glib GObject "instance-count" and GtkInspector I see that each cycle leaks one GstGhostPad and one GstProxyPad; maybe that helps. Python example attached.
Thanks for reporting. It should be fixed in git master commit 7e801a5f26f5a297b795f83d18d178c5ace42cf7 Author: Thiago Santos <thiagoss@osg.samsung.com> Date: Wed Dec 10 13:23:23 2014 -0300 playbin2: always unref the combiner sinkpad when removing the srcpad Create a function to do the pad cleanup of the GstSourceCombine struct and use it to not forget to also cleanup the sink pad and fix a memory leak. https://bugzilla.gnome.org/show_bug.cgi?id=741198
Memory usage is constant now. Thanks!