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_link_maybe_ghosting_full() with @flags == %GST_PAD_LINK_CHECK_DEFAULT is the recommended way of linking pads with safety checks applied.

class Pad
bool
linkMaybeGhostingFull

Parameters

sink Pad

a #GstPad

flags GstPadLinkCheck

some #GstPadLinkCheck flags

Return: whether the link succeeded.

Meta

Since

1.10