restarting the pipeline
Yakov Sudeikin
yakovs at setplex.com
Wed Dec 2 08:41:47 PST 2015
Thank you for asking, yes, I set_state(NULL), then wait for this to happen,
then set_state to PLAY.
On Wed, Dec 2, 2015 at 10:03 PM, Ian Davidson <id012c3076 at blueyonder.co.uk>
wrote:
> 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.
>>
>>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151202/1dfb7cf4/attachment.html>
More information about the gstreamer-devel
mailing list