<div dir="ltr">Hi guys,<br><br>I'm currently working on a dynamic pipeline. The pipeline is very simple:<br><br>gst-launch-1.0 \<br>uridecodebin
uri=rtsp://<a href="http://10.0.0.207:50900/c11">10.0.0.207:50900/c11</a> ! queue name=q0 ! videorate max-rate=25
drop-only=1 ! nvvideoconvert ! fpsdisplaysink sync=0<br><br>In my c/c++
code, the above pipeline was constructed by
'gst_parse_bin_from_description'. Then I created a new uridecodebin to
replace the old uridecodebin dynamically. A on_EOS probe was hooked at
the src pad of queue(q0). An EOS event was sent to the old uridecodebin
and it will be intercepted by the on_EOS probe. And then an on_IDLE probe
was hooked at the src pad of queue(q0). In the on_IDLE probe the old
uridecodebin was unlinked and replaced with a new uridecodebin.
Everything is classic.<br><br>But my question is: How to know exactly if the modified pipeline has been running stable, when and where?<br><br>I
find this question difficult to answer for me because there is no easy
way (such as an event) to tell if a modified pipeline is running
stable or not. This problem brings a series of troubles, such as two
rapid dynamic pipeline modifications in a row will cause a bad deadlock.<br><br><div>Is there any trick I should do to be able to solve these situations?</div><div><br></div><div>Any help would be appreciated!<br></div><div><br></div><div>Neo.</div></div>