ElementClass.addStaticPadTemplate

Adds a pad template to an element class based on the static pad template templ. This is mainly used in the _class_init functions of element implementations. If a pad template with the same name already exists, the old one is replaced by the new one.

class ElementClass
void
addStaticPadTemplate

Parameters

staticTempl StaticPadTemplate

gstreamer.StaticPadTemplate to add as pad template to the element class.

Meta