Gst.MetaInfo

Fields

Name

Type

Access

Description

api

GObject.GType

r/w

tag identifying the metadata structure and api

clear_func

Gst.MetaClearFunction

r/w

Function for clearing the metadata, or None if not supported by this meta. This is called by the buffer pool when a buffer is returned for pooled metas.

deserialize_func

Gst.MetaDeserializeFunction

r/w

Function for deserializing the metadata, or None if not supported by this meta.

free_func

Gst.MetaFreeFunction

r/w

function for freeing the metadata

init_func

Gst.MetaInitFunction

r/w

function for initializing the metadata

serialize_func

Gst.MetaSerializeFunction

r/w

Function for serializing the metadata, or None if not supported by this meta.

size

int

r/w

size of the metadata

transform_func

Gst.MetaTransformFunction

r/w

function for transforming the metadata

type

GObject.GType

r/w

type identifying the implementor of the api

Methods

is_custom ()

register ()

Details

class Gst.MetaInfo

The Gst.MetaInfo provides information about a specific metadata structure.

is_custom()[source]
Returns:

whether self was registered as a Gst.CustomMeta with Gst.Meta.register_custom()

Return type:

bool

New in version 1.20.

register()[source]
Returns:

the registered meta

Return type:

Gst.MetaInfo

Registers a new meta.

Use the structure returned by gst_meta_info_new(), it consumes it and the structure shouldnt be used after. The one returned by the function can be kept.

New in version 1.24.