Restarting the pipeline after EOS / force stoping pipeline
marcin at saepia.net
marcin at saepia.net
Fri Apr 22 04:14:16 UTC 2016
Nope, setting state to NULL should not throw anything.
Starting pipeline to PLAYING after EOS should also work, however I've
encountered awkward memory issues in the past if that happened multiple
times (probably due to memleak somewhere in some previous versions) so now
I rather tend to rebuild the pipeline anyway.
m.
2016-04-21 20:52 GMT-07:00 Krutskikh Ivan <stein.hak at gmail.com>:
> HI,
>
> Maybe that's a novice question, but how can I recover my pipeline (set it
> into Gst.State.READY and PLAYING) after it got a EOS event and was set into
> Gst.State.NULL?
>
> The only solution I found was to re-run the __init__ method of my class
> and start a new pipeline with the same properties. But that consumes time
> and results in lost video data in real time tasks.
>
> Another question is how to force a pipeline into Gst.State.NULL? Simple
> SetState throws exceptions on muxing elements, so only sending event EOS to
> the pipeline works. Is this an expected behavior?
>
> Thanks in advance!
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160421/990e2ab1/attachment.html>
More information about the gstreamer-devel
mailing list