the #GstElementFactory that creates these elements
metadata for elements of this class
the number of padtemplates
changed whenever the padtemplates change
a #GList of #GstPadTemplate
the parent class structure
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())
a #GstPadTemplate to add to the element class.
Set key
with value
as metadata in klass
.
Same as gst_element_class_add_metadata(), but value
must be a static string
or an inlined string, as it will not be copied. (GStreamer plugins will
be made resident once loaded, so this function can be used even from
dynamically loaded plugins.)
the key to set
the value to set
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.
#GstStaticPadTemplate to add as pad template to the element class.
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.
#GstStaticPadTemplate to add as pad template to the element class.
The #GType of the pad to create
Retrieves a padtemplate from element_class
with the given name.
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.
the name of the #GstPadTemplate to get.
Retrieves a list of the pad templates associated with element_class
. The
list must not be modified by the calling code.
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.
Sets the detailed information for a #GstElementClass.
This function is for use in _class_init functions only.
The long English name of the element. E.g. "File Sink"
String describing the type of element, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"
Sentence describing the purpose of the element. E.g: "Write stream to a file"
Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"
Sets the detailed information for a #GstElementClass.
This function is for use in _class_init functions only.
Same as gst_element_class_set_metadata(), but longname,
classification,
description,
and author
must be static strings or inlined strings, as
they will not be copied. (GStreamer plugins will be made resident once
loaded, so this function can be used even from dynamically loaded plugins.)
The long English name of the element. E.g. "File Sink"
String describing the type of element, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"
Sentence describing the purpose of the element. E.g: "Write stream to a file"
Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"
GStreamer element class. Override the vmethods to implement the element functionality.