reference count of gstreamer elements not decresing
ShilVin
vinodkesti at yahoo.com
Sat Nov 10 15:41:41 UTC 2018
Setting pipeline state to NULL state won't remove elements from the pipeline.
gst_element_set_state(m_pstGstConfig->pipeline, GST_STATE_NULL);
unref of the object will unref all the elements.
gst_object_unref(GST_PIPELINE(m_pstGstConfig->pipeline));
Use gst_bin_remove() function to remove only one element. This function will
reduce the ref count of the element by 1.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list