ElementClass.addPadTemplate

Adds a padtemplate to an element class. This is mainly used in the _class_init functions of classes. If a pad template with the same name as an already existing one is added the old one is replaced by the new one.

class ElementClass
void
addPadTemplate

Parameters

templ PadTemplate

a #GstPadTemplate to add to the element class.

Meta