Gst.Element.prototype.link_pads
function link_pads(srcpadname:String, dest:Gst.Element, destpadname:String):Boolean { // Gjs wrapper for gst_element_link_pads() }
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.
- 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.
- Returns
TRUE if the pads could be linked, FALSE otherwise.