<div dir="ltr">Thank you for asking, yes, I set_state(NULL), then wait for this to happen, then set_state to PLAY.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 2, 2015 at 10:03 PM, Ian Davidson <span dir="ltr"><<a href="mailto:id012c3076@blueyonder.co.uk" target="_blank">id012c3076@blueyonder.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You have not stated in your question, so I will ask for clarity.<br>
<br>
Do you wait for notification that the pipeline has changed state (to NULL) before you change it back to PLAY?<span class=""><br>
<br>
On 02/12/2015 15:49, Yakov Sudeikin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have been told (many times) that set_state(NULL), set_state(PLAY) is all you need to completely restart the pipeline. But I am facing again and again the situation when I need to restart the process instead, because my pipeline will not work otherwise when restarted by NULL/PLAY state change. I can see that first half of the pipeline is working, it is sinking is what not working after this kind of "soft restart". My pipeline is soup->demux->x264enc->flvmux->rtmpsink.<br>
<br>
</blockquote>
<br></span>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>