Adapter.getBufferList

gst.buffer_list.BufferList getBufferList(size_t nbytes)

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.

Parameters

nbytesthe number of bytes to get

Returns

a #GstBufferList of buffers containing

the first nbytes of the adapter, or null if nbytes bytes are not available