ElementClass.getPadTemplate

Retrieves a padtemplate from @element_class with the given name. <note>If you use this function in the #GInstanceInitFunc of an object class that has subclasses, make sure to pass the g_class parameter of the #GInstanceInitFunc here.</note>

class ElementClass
getPadTemplate
(
string name
)

Parameters

name string

the name of the #GstPadTemplate to get.

Return: the #GstPadTemplate with the given name, or %NULL if none was found. No unreferencing is necessary.

Meta