Bin.remove

Removes the element from the bin, unparenting it as well. Unparenting the element means that the element will be dereferenced, so if the bin holds the only reference to the element, the element will be freed in the process of removing it from the bin. If you want the element to still exist after removing, you need to call gst_object_ref() before removing it from the bin.

If the element's pads are linked to other pads, the pads will be unlinked before the element is removed from the bin.

MT safe.

class Bin
bool
remove

Parameters

element Element

the #GstElement to remove

Return Value

Type: bool

%TRUE if the element could be removed, %FALSE if the bin does not want to remove the element.

Meta