Pad.canLink

bool canLink(gst.pad.Pad sinkpad)

Checks if the source pad and the sink pad are compatible so they can be linked.

Parameters

sinkpadthe sink #GstPad.

Returns

true if the pads can be linked.