Meta.register

Register a new GstMeta implementation. The same info can be retrieved later with gst_meta_get_info() by using impl as the key.

Parameters

api GType

the type of the GstMeta API

impl string

the name of the GstMeta implementation

size gsize

the size of the GstMeta structure

initFunc GstMetaInitFunction

(scope async) a GstMetaInitFunction

freeFunc GstMetaFreeFunction

(scope async) a GstMetaFreeFunction

transformFunc GstMetaTransformFunction

(scope async) a GstMetaTransformFunction

Return Value

a GstMetaInfo that can be used to access metadata. [transfer none]

Meta