A function that will be called from Buffer.listForeach. The buffer field will point to a the reference of the buffer at idx.

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

When buffer is set to NULL, the item will be removed from the bufferlist. When buffer has been made writable, the new buffer reference can be assigned to buffer. This function is responsible for unreffing the old buffer when removing or modifying.

alias GstBufferListFunc = int function(GstBuffer** buffer, uint idx, void* userData)

Return Value

FALSE when Buffer.listForeach should stop