Remove an element from a paused pipeline
Sérgio Agostinho
sergio.r.agostinho at gmail.com
Fri Feb 20 04:48:09 PST 2015
Hey,
You should not have elements which are in different states linked together,
so that might be your issue. Try to remove the element first and then set
it to NULL. By removing it, it will automatically unlink itself from other
elements in the pipeline. Also notice that you'll need to increase the
reference counter on the removed element before you remove it, in case you
want to do some additional stuff with it (like setting it to NULL).
Cheers
2015-02-20 11:44 GMT+01:00 Alicia Romero <alromor84 at gmail.com>:
> Hi List,
> how can I remove from a paused pipeline an element?
> I tried to set the element to NULL state and then remove it from the
> pipeline. but it get stuck
> when I change the state from pause to null, and the last logging is:
>
> DEBUG setting PAD_MODE NONE, set flushing
>
> What am I doing wrong?
> Thanks!!
>
> _______________________________________________
> 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/20150220/90dd1e92/attachment.html>
More information about the gstreamer-devel
mailing list