gst_element_set_state deadlock

Kocsis Tibor ikt011 at gmail.com
Wed Apr 6 00:12:26 PDT 2011


Hi,

I want to destroy a branch in a pipeline, keeping the pipeline in
PLAYING. I have two sources, two sinks, they are in the same pipeline
and they don't have any joint element. If i set the state one of the
branchs's elements to null, in the 50% of the cases i have a deadlock
at the gst_element_set_state. Can somebody explain me what is the
correct order to destroy dynamically a branch in a pipeline? I sending
flushstart/flushstop/eos events, set the elements to NULL from the
source to the sink and in reversed order, but nothing works in all
case...

Thanks in advance,
Tibor


More information about the gstreamer-devel mailing list