Gst.Buffer.prototype.prepend_memory
function prepend_memory(mem:Gst.Memory):void { // Gjs wrapper for gst_buffer_prepend_memory() }
Prepend the memory block mem to buffer. This function takes ownership of mem and thus doesn't increase its refcount.
This function is identical to Gst.Buffer.prototype.insert_memory with an index of 0. See Gst.Buffer.prototype.insert_memory for more details.
- mem
a Gst.Memory.