take_list
Description:
Returns a List of buffers containing the first nbytes
bytes of the
this.
The returned bytes will be flushed from the adapter. When the caller can deal with individual buffers, this function is more performant because no memory should be copied.
Caller owns returned list and contained buffers. gst_buffer_unref
each buffer in the list before freeing the list after usage.
Parameters:
this |
a Adapter |
nbytes |
the number of bytes to take |
Returns:
a List of buffers containing the first |