Gst.Element.prototype.link_pads_full

function link_pads_full(srcpadname:String, dest:Gst.Element, destpadname:String, flags:Gst.PadLinkCheck):Boolean {
    // Gjs wrapper for gst_element_link_pads_full()
}

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.prototype.link_pads_full with flags == Gst.PadLinkCheck.default is the same as calling Gst.Element.prototype.link_pads and the recommended way of linking pads with safety checks applied.

This is a convenience function for Gst.link_full.

srcpadname

the name of the Gst.Pad in source element or NULL for any pad.

dest

the Gst.Element containing the destination pad.

destpadname

the name of the Gst.Pad in destination element, or NULL for any pad.

flags

the Gst.PadLinkCheck to be performed when linking pads.

Returns

TRUE if the pads could be linked, FALSE otherwise.