add_pad_templates


Description:

[ CCode ( cname = "gst_audio_filter_class_add_pad_templates" ) ]
public class void add_pad_templates (Caps allowed_caps)

Convenience function to add pad templates to this element class, with allowed_caps as the caps that can be handled.

This function is usually used from within a GObject class_init function.

Parameters:

this

an Filter

allowed_caps

what formats the filter can handle, as Caps