Gst.CustomMeta

Fields

Name

Type

Access

Description

meta

Gst.Meta

r/w

parent Gst.Meta

structure

Gst.Structure

r/w

Gst.Structure containing custom metadata.

Methods

get_structure ()

has_name (name)

Details

class Gst.CustomMeta

Extra custom metadata. The structure field is the same as returned by Gst.CustomMeta.get_structure().

Since 1.24 it can be serialized using Gst.Meta.serialize() and Gst.Meta.deserialize(), but only if the Gst.Structure does not contain any fields that cannot be serialized, see Gst.SerializeFlags.STRICT.

New in version 1.20.

get_structure()[source]
Returns:

the Gst.Structure backing self

Return type:

Gst.Structure

Retrieve the Gst.Structure backing a custom meta, the structure’s mutability is conditioned to the writability of the Gst.Buffer self is attached to.

New in version 1.20.

has_name(name)[source]
Parameters:

name (str) –

Returns:

Whether name is the name of the custom meta

Return type:

bool

Checks whether the name of the custom meta is name

New in version 1.20.