Pad.linkMaybeGhostingFull

bool linkMaybeGhostingFull(gst.pad.Pad sink, gst.types.PadLinkCheck flags)

Links src to sink, creating any #GstGhostPad's in between as necessary.

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

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

Calling [gst.pad.Pad.linkMaybeGhostingFull] with flags == [gst.types.PadLinkCheck.Default] is the recommended way of linking pads with safety checks applied.

Parameters

sinka #GstPad
flagssome #GstPadLinkCheck flags

Returns

whether the link succeeded.