Can I add a new pad to a element in playing state?
go4save at gmail.com
Sat Feb 4 23:08:32 PST 2012
I need create a new src pad to handle some special streams when my element is
already in the playing state.
I can create a src pad and call gst_pad_set_active () for this new pad.
but when I call gst_element_add_pad() after I successfully called
gst_pad_set_active (), the call of gst_element_add_pad() never returns, so
later when I call gst_pad_push() in another task, it will fail and the
reason is (-2) pad in wrong state.
would anybody explain why gst_element_add_pad() failed?
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Can-I-add-a-new-pad-to-a-element-in-playing-state-tp4358524p4358524.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel