add_static_metadata


Description:

public static void add_static_metadata (string key, owned string value)

Set key with value as metadata in this.

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

Parameters:

key

the key to set

value

the value to set

klass

class to set metadata for