GNOME Bugzilla – Bug 778452
glsinkbin: leaks sink element
Last modified: 2017-02-19 10:54:29 UTC
Created attachment 345456 [details] [review] Proposed patch GstGLSinkBin adds a reference to the sink element in set_property() but never releases it in dispose or finalize methods. The proposed patch does not add that reference and relies in the indirect reference added by gst_bin_add() instead (just like its already doing with upload convert and balance elements)
commit ef739e726fb52305245f8bbf7d26f8e2ae0f71e2 Author: Juan Pablo Ugarte <juanpablougarte@gmail.com> Date: Fri Feb 10 10:29:49 2017 -0300 GstGLSinkBin: fixed sink property leak No need to keep an extra reference to sink since an indirect one is added by gst_bin_add() https://bugzilla.gnome.org/show_bug.cgi?id=778452