DeviceProviderClass.setStaticMetadata

Sets the detailed information for a gstreamer.DeviceProviderClass

> This function is for use in _class_init functions only.

Same as Device.providerClassSetMetadata, 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 DeviceProviderClass
void
setStaticMetadata
(
string longname
,,,
string author
)

Parameters

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