link_maybe_ghosting_full


Description:

[ Version ( since = "1.10" ) ]
public bool link_maybe_ghosting_full (Pad sink, PadLinkCheck flags)

Links this to sink, creating any GhostPad's in between as necessary.

This is a convenience function to save having to create and add intermediate GhostPad 's as required for linking across Bin boundaries.

If this or sink pads don't have parent elements or do not share a common ancestor, the link will fail.

Calling link_maybe_ghosting_full with flags == DEFAULT is the recommended way of linking pads with safety checks applied.

Parameters:

this

a Pad

sink

a Pad

flags

some PadLinkCheck flags

Returns:

whether the link succeeded.