add_static_pad_template


Description:

[ CCode ( cname = "gst_element_class_add_static_pad_template" ) ]
[ Version ( since = "1.8" ) ]
public class void add_static_pad_template (StaticPadTemplate static_templ)

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.

Parameters:

this

the Element to add the pad template to.

static_templ

StaticPadTemplate to add as pad template to the element class.




2022 vala-language.org