Pad.linkMaybeGhostingFull

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.

class Pad
bool
linkMaybeGhostingFull

Parameters

sink gst.pad.Pad

a #GstPad

flags gst.types.PadLinkCheck

some #GstPadLinkCheck flags

Return Value

Type: bool

whether the link succeeded.