Gst.BufferList.new_sized
function new_sized(size:Number):Gst.BufferList { // Gjs wrapper for gst_buffer_list_new_sized() }
Creates a new, empty Gst.BufferList. The caller is responsible for unreffing the returned Gst.BufferList. The list will have size space preallocated so that memory reallocations can be avoided.
Free-function: gst_buffer_list_unref
- size
an initial reserved size
- Returns
the new Gst.BufferList. gst_buffer_list_unref() after usage.