Bin.add

Adds the given element to the bin. Sets the element's parent, and thus takes ownership of the element. An element can only be added to one bin. If the element's pads are linked to other pads, the pads will be unlinked before the element is added to the bin. MT safe.

class Bin
int
add

Parameters

element Element

the GstElement to add

Return Value

Type: int

TRUE if the element could be added, FALSE if the bin does not want to accept the element.

Meta