Skip to content

gstreamer/element: Use from_glib_none() for the release_pad() trampoline

The reference to the pad we get passed is not guaranteed to be valid for the whole scope of release_pad(). It might be the last reference as owned by GstElement, and gst_element_remove_pad() would destroy it then.

Merge request reports