Query about gst_bin_remove

Sebastian Dröge sebastian at centricular.com
Tue Feb 24 00:08:47 PST 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150224/eab83789/attachment.sig>


More information about the gstreamer-devel mailing list