Gst.Pad.prototype.link_full

function link_full(sinkpad:Gst.Pad, flags:Gst.PadLinkCheck):Gst.PadLinkReturn {
    // Gjs wrapper for gst_pad_link_full()
}

Links the source pad and the sink pad.

This variant of #gst_pad_link provides a more granular control on the checks being done when linking. While providing some considerable speedups the caller of this method must be aware that wrong usage of those flags can cause severe issues. Refer to the documentation of Gst.PadLinkCheck for more information.

MT Safe.

sinkpad

the sink Gst.Pad to link.

flags

the checks to validate when linking

Returns

A result code indicating if the connection worked or what went wrong.