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.

@templ's reference count will be incremented, and any floating reference will be removed (see gst_object_ref_sink())

class ElementClass
void
addPadTemplate

Parameters

templ PadTemplate

a #GstPadTemplate to add to the element class.

Meta