Buffer.prependMemory

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.

class Buffer
void
prependMemory

Parameters

mem gst.memory.Memory

a #GstMemory.