Gst.Element.prototype.link_pads_filtered
function link_pads_filtered(srcpadname:String, dest:Gst.Element, destpadname:String, filter:Gst.Caps):Boolean { // Gjs wrapper for gst_element_link_pads_filtered() }
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. If @caps is not #NULL, makes sure that the caps of the link is a subset of @caps.
- 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.
- filter
the Gst.Caps to filter the link, or #NULL for no filter.
- Returns
TRUE if the pads could be linked, FALSE otherwise.