set_static_metadata


Description:

[ CCode ( cname = "gst_element_class_set_static_metadata" ) ]
public class void set_static_metadata (string longname, string classification, string description, string author)

Sets the detailed information for a Element.

> This function is for use in _class_init functions only.

Same as 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.)

Parameters:

this

class to set metadata for

longname

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

classification

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

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

author

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