Element.linkPadsFull

Links the two named pads of the source and destination elements. Side effect is that if one of the pads has no parent, it becomes a child of the parent of the other element. If they have different parents, the link fails. Calling gst_element_link_pads_full() with flags == GST_PAD_LINK_CHECK_DEFAULT is the same as calling gst_element_link_pads() and the recommended way of linking pads with safety checks applied. This is a convenience function for gst_pad_link_full().

class Element
int
linkPadsFull

Parameters

srcpadname string

the name of the GstPad in source element or NULL for any pad. [allow-none]

dest Element

the GstElement containing the destination pad. [transfer none]

destpadname string

the name of the GstPad in destination element, or NULL for any pad. [allow-none]

flags GstPadLinkCheck

the GstPadLinkCheck to be performed when linking pads.

Return Value

Type: int

TRUE if the pads could be linked, FALSE otherwise.

Meta