link


Description:

[ CCode ( cname = "gst_pad_link_full" ) ]
public PadLinkReturn link (Pad sinkpad, PadLinkCheck flags = DEFAULT)

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 PadLinkCheck for more information.

MT Safe.

Parameters:

this

the source Pad to link.

sinkpad

the sink Pad to link.

flags

the checks to validate when linking

Returns:

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