BufferListFunc
Description:
public delegate BufferListItem BufferListFunc (
out Buffer buffer,
uint group,
uint idx)
A function that will be called from @foreach.
The buffer field will point to a the reference of the buffer at idx in group.
When this function returns CONTINUE, the next buffer will be
returned. When SKIP_GROUP is returned, all remaining buffers
in the current group will be skipped and the first buffer of the next group is returned (if any). When GST_BUFFER_LIST_END is returned,
@foreach 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.
Parameters:
| buffer |
pointer the buffer |
| group |
the group index of buffer
|
| idx |
the index in group of buffer
|
| user_data |
user data passed to @foreach
|
Returns: