Element.classAddPadTemplate

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 Element
static
void
classAddPadTemplate

Parameters

klass GstElementClass*

the GstElementClass to add the pad template to.

templ PadTemplate

a GstPadTemplate to add to the element class. [transfer full]

Meta