GstBufferForeachMetaFunc

A function that will be called from Buffer.foreachMeta. The meta field will point to a the reference of the meta.

buffer should not be modified from this callback.

When this function returns TRUE, the next meta will be returned. When FALSE is returned, Buffer.foreachMeta will return.

When meta is set to NULL, the item will be removed from the buffer.

alias GstBufferForeachMetaFunc = int function(GstBuffer* buffer, GstMeta** meta, void* userData)

Return Value

FALSE when Buffer.foreachMeta should stop