Gst.BufferList.prototype.foreach
function foreach(func:Gst.BufferListFunc):Boolean { // Gjs wrapper for gst_buffer_list_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.
- func
a Gst.BufferListFunc to call
- Returns
true when func returned true for each buffer in list or when list is empty.