Buffer.peekMemory

gst.memory.Memory peekMemory(uint idx)

Gets the memory block at idx in buffer. The memory block stays valid until the memory block in buffer is removed, replaced or merged, typically with any call that modifies the memory in buffer.

Parameters

idxan index

Returns

the #GstMemory at idx.