get_meta


Description:

public unowned Meta? get_meta (Type api)

Gets 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 foreach_meta instead and check the `meta->info.api` member for the API type.

Parameters:

this

a Buffer

api

the Type of an API

Returns:

the metadata for api on this.




2022 vala-language.org