GstAudio.AudioFilterClass

Fields

Name

Type

Access

Description

basetransformclass

GstBase.BaseTransformClass

r

parent class

setup

object

r

virtual function called whenever the format changes

Methods

add_pad_templates (allowed_caps)

Details

class GstAudio.AudioFilterClass

In addition to the setup virtual function, you should also override the GstBase.BaseTransform ::transform and/or GstBaseTransform::transform_ip virtual function.

add_pad_templates(allowed_caps)[source]
Parameters:

allowed_caps (Gst.Caps) – what formats the filter can handle, as Gst.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.Object class_init function.