Buffer.prependMemory

void prependMemory(gst.memory.Memory mem)

Prepends 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.Buffer.insertMemory] with an index of 0. See [gst.buffer.Buffer.insertMemory] for more details.

Parameters

mema #GstMemory.