[ Version ( since = "1.6" ) ]
public BufferList? take_buffer_list (size_t nbytes)
Returns a BufferList 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 the returned list. Call gst_buffer_list_unref
to free the list after usage.
this |
a Adapter |
nbytes |
the number of bytes to take |
a BufferList of buffers containing the first |