Adapter.getBufferList

Returns a #GstBufferList of buffers containing the first nbytes bytes of the adapter but does not flush them from the adapter. See gstbase.adapter.Adapter.takeBufferList for details.

Caller owns the returned list. Call gst_buffer_list_unref() to free the list after usage.

class Adapter
getBufferList
(
size_t nbytes
)

Parameters

nbytes size_t

the number of bytes to get

Return Value

Type: gst.buffer_list.BufferList

a #GstBufferList of buffers containing the first nbytes of the adapter, or null if nbytes bytes are not available