BufferList.foreach_

Call func with data for each buffer in list.

func can modify the passed buffer pointer or its contents. The return value of func define if this function returns or if the remaining buffers in the list should be skipped.

class BufferList
bool
foreach_

Parameters

func GstBufferListFunc
userData void*

user data passed to func

Return Value

Type: bool

TRUE when func returned TRUE for each buffer in list or when list is empty.