Gst.BufferList.prototype.insert

function insert(idx:Number, buffer:Gst.Buffer):void {
    // Gjs wrapper for gst_buffer_list_insert()
}

Insert buffer at idx in list. Other buffers are moved to make room for this new buffer.

A -1 value for idx will append the buffer at the end.

idx

the index

buffer

a Gst.Buffer