GstBufferForeachMetaFunc

A function that will be called from gst_buffer_foreach_meta(). 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, gst_buffer_foreach_meta() 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 gst_buffer_foreach_meta() should stop

Meta