Query about gst_bin_remove

Yogesh Tyagi yogesh.bit2006 at gmail.com
Wed Feb 25 02:12:59 PST 2015


Thanks for the answer. What will gst_pad_get_negotiated_caps() return for
an element's source pad which is linked again to pipeline (after unlinking)?

Thanks,
Yogesh
On Tue, Feb 24, 2015 at 1:38 PM, Sebastian Dröge <sebastian at centricular.com>
wrote:

> On Mo, 2015-02-23 at 19:07 +0530, Yogesh Tyagi wrote:
> > Hi,
> >
> > Can somebody please help me understand whether an element goes to all the
> > downward state changes(PLAYING to NULL) when I call gst_bin_remove to
> > remove that element from the pipeline?
>
> It doesn't, the state stays the same.
>
> > What happens to the source pads of the element it this case?
>
> They are still there :) But if they were linked to something else, the
> source pads would be unlinked now.
>
> > I want to take deceision of adding a new source pad to this element
> > depeneding upon existance of the old source pad of this element before it
> > was unlinked from the pipeline.
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>
> _______________________________________________
> 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/20150225/cc5d692c/attachment.html>


More information about the gstreamer-devel mailing list