access metadata.
Meta.registerCustom
gst.meta_info.MetaInfo registerCustom(string name, string[] tags, gst.types.CustomMetaTransformFunction transformFunc = null)Register a new custom #GstMeta implementation, backed by an opaque structure holding a #GstStructure.
The registered info can be retrieved later with [gst.meta.Meta.getInfo] by using name as the key.
The backing #GstStructure can be retrieved with [gst.custom_meta.CustomMeta.getStructure], its mutability is conditioned by the writability of the buffer the meta is attached to.
When transform_func is null, the meta and its backing #GstStructure will always be copied when the transform operation is copy, other operations are discarded, copy regions are ignored.
Parameters
name | the name of the #GstMeta implementation |
tags | tags for api |
transformFunc | a #GstMetaTransformFunction |
Returns
a #GstMetaInfo that can be used to