Check if the pads are compatible by comparing the caps returned by gst_pad_query_caps().
The default checks done when linking pads (i.e. the ones used by gst_pad_link()).
Check the pads have same parents/grandparents. Could be omitted if it is already known that the two elements that own the pads are in the same bin.
Don't check hierarchy or caps compatibility.
Disables pushing a reconfigure event when pads are linked.
Check if the pads are compatible by using
their template caps. This is much faster than GST_PAD_LINK_CHECK_CAPS,
but
would be unsafe e.g. if one pad has %GST_CAPS_ANY.
The amount of checking to be done when linking pads.
GST_PAD_LINK_CHECK_CAPS
andGST_PAD_LINK_CHECK_TEMPLATE_CAPS
are mutually exclusive. If both are specified, expensive but safeGST_PAD_LINK_CHECK_CAPS
are performed.