restarting the pipeline

Ian Davidson id012c3076 at blueyonder.co.uk
Wed Dec 2 08:03:35 PST 2015


You have not stated in your question, so I will ask for clarity.

Do you wait for notification that the pipeline has changed state (to 
NULL) before you change it back to PLAY?

On 02/12/2015 15:49, Yakov Sudeikin wrote:
> 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.
>



More information about the gstreamer-devel mailing list