Element.getCompatiblePadTemplate

gst.pad_template.PadTemplate getCompatiblePadTemplate(gst.pad_template.PadTemplate compattempl)

Retrieves a pad template from element that is compatible with compattempl. Pads from compatible templates can be linked together.

Parameters

compattemplthe #GstPadTemplate to find a compatible template for

Returns

a compatible #GstPadTemplate,

or null if none was found. No unreferencing is necessary.