Buffer.prependMemory

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_insert_memory() with an index of 0. See gst_buffer_insert_memory() for more details.

class Buffer
void
prependMemory

Parameters

mem Memory

a GstMemory. [transfer full]

Meta