Element.classSetStaticMetadata

Sets the detailed information for a GstElementClass. Note 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.)

class Element
static
void
classSetStaticMetadata

Parameters

klass GstElementClass*

class to set metadata for

longname string

The long English name of the element. E.g. "File Sink"

classification string

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"

description string

Sentence describing the purpose of the element. E.g: "Write stream to a file"

author string

Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"

Meta