Buffer.getMeta

Get the metadata for @api on buffer. When there is no such metadata, %NULL is returned. If multiple metadata with the given @api are attached to this buffer only the first one is returned. To handle multiple metadata with a given API use gst_buffer_iterate_meta() or gst_buffer_foreach_meta() instead and check the meta->info.api member for the API type.

class Buffer
getMeta

Parameters

api GType

the #GType of an API

Return Value

Type: GstMeta*

the metadata for @api on @buffer.

Meta