add_static_pad_template_with_gtype
Description:
[ CCode ( cname = "gst_element_class_add_static_pad_template_with_gtype" ) ]
[ Version ( since = "1.14" ) ]
public class void add_static_pad_template_with_gtype (StaticPadTemplate static_templ, Type pad_type)
[ Version ( since = "1.14" ) ]
public class void add_static_pad_template_with_gtype (StaticPadTemplate static_templ, Type pad_type)
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. |
pad_type |
The Type of the pad to create |