Adapter.getList

gst.buffer.Buffer[] getList(size_t nbytes)

Returns a #GList of buffers containing the first nbytes bytes of the adapter, but does not flush them from the adapter. See [gstbase.adapter.Adapter.takeList] for details.

Caller owns returned list and contained buffers. gst_buffer_unref() each buffer in the list before freeing the list after usage.

Parameters

nbytesthe number of bytes to get

Returns

a #GList of

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