Buffer.foreachMeta

Call func with user_data for each meta in buffer. func can modify the passed meta pointer or its contents. The return value of func define if this function returns or if the remaining metadata items in the buffer should be skipped.

class Buffer
int
foreachMeta

Parameters

func GstBufferForeachMetaFunc

a GstBufferForeachMetaFunc to call. [scope call]

userData void*

user data passed to func. closure

Return Value

Type: int

FALSE when func returned FALSE for one of the metadata.

Meta