Element.getCompatiblePadTemplate

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

Parameters

compattempl gst.pad_template.PadTemplate

the #GstPadTemplate to find a compatible template for

Return Value

Type: gst.pad_template.PadTemplate

a compatible #GstPadTemplate, or null if none was found. No unreferencing is necessary.