Optionalproperties: Partial<{}>Calculates the size of the data contained in list by adding the
size of all buffers.
the size of the data contained in list in bytes.
Creates a copy of the given buffer list. This will make a newly allocated copy of the buffers that the source buffer list contains.
a new copy of list.
Calls func with data for each buffer in list.
func can modify the passed buffer pointer or its contents. The return value
of func defines if this function returns or if the remaining buffers in
the list should be skipped.
a Gst.BufferListFunc to call
true when func returned true for each buffer in list or when list is empty.
Gets the buffer at idx, ensuring it is a writable buffer.
You must make sure that idx does not exceed the number of
buffers available.
the index
the buffer at idx in group. The returned buffer remains valid as long as list is valid and the buffer is not removed from the list.
Returns the number of buffers in list.
the number of buffers in the buffer list
Removes length buffers starting from idx in list. The following buffers
are moved to close the gap.
the index
the amount to remove
StaticnewStaticnew_StaticreplaceModifies a pointer to a Gst.BufferList to point to a different Gst.BufferList. The modification is done atomically (so this is useful for ensuring thread safety in some cases), and the reference counts are updated appropriately (the old buffer list is unreffed, the new is reffed).
Either new_list or the Gst.BufferList pointed to by old_list may be null.
Optionalold_list: BufferListpointer to a pointer to a Gst.BufferList to be replaced.
Optionalnew_list: BufferListpointer to a Gst.BufferList that will replace the buffer list pointed to by old_list.
StatictakeModifies a pointer to a Gst.BufferList to point to a different
Gst.BufferList. This function is similar to gst_buffer_list_replace() except
that it takes ownership of new_list.
pointer to a pointer to a Gst.BufferList to be replaced.
Optionalnew_list: BufferListpointer to a Gst.BufferList that will replace the bufferlist pointed to by old_list.
Buffer lists are an object containing a list of buffers.
Buffer lists are created with
gst_buffer_list_new()and filled with data usinggst_buffer_list_insert().Buffer lists can be pushed on a srcpad with
gst_pad_push_list(). This is interesting when multiple buffers need to be pushed in one go because it can reduce the amount of overhead for pushing each buffer individually.