BufferForeachMetaFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
public delegate bool BufferForeachMetaFunc (Buffer buffer, out Meta? meta)

A function that will be called from 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, foreach_meta will return.

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

Parameters:

buffer

a Buffer

meta

a pointer to a Meta

user_data

user data passed to foreach_meta

Returns:

false when foreach_meta should stop


Namespace: Gst
Package: gstreamer-1.0