Element.classAddStaticMetadata

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

class Element
static
void
classAddStaticMetadata
(,
string key
,
string value
)

Parameters

klass GstElementClass*

class to set metadata for

key string

the key to set

value string

the value to set

Meta