Running dynamic pipeline of compositor gets segmentation fault

Olivier CrĂȘte olivier.crete at collabora.com
Mon May 13 05:36:36 UTC 2019


On Sat, 2019-05-11 at 02:30 -0500, longkas wrote:
> int padIdx = 0;
> 
> //remove
> GstPad* pad = gst_element_get_static_pad(compositor, "sink_" + padIdx );
> gst_element_remove_pad(compositor, pad); 

That's your mistake, you shouldn't be calling gst_element_remove_pad()
outside of the implementation of an element. You want to instead use
gst_element_release_request_pad()


-- 
Olivier CrĂȘte
olivier.crete at collabora.com



More information about the gstreamer-devel mailing list