Gst.Element.prototype.get_compatible_pad_template

function get_compatible_pad_template(compattempl:Gst.PadTemplate):Gst.PadTemplate {
    // Gjs wrapper for gst_element_get_compatible_pad_template()
}

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

compattempl

the Gst.PadTemplate to find a compatible template for

Returns

a compatible Gst.PadTemplate, or NULL if none was found. No unreferencing is necessary.