Pad.linkMaybeGhosting

bool linkMaybeGhosting(gst.pad.Pad sink)

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.

Parameters

sinka #GstPad

Returns

whether the link succeeded.