Buffer.getMemory

Get the memory block at index idx in buffer.

class Buffer
getMemory
(
uint idx
)

Parameters

idx uint

an index

Return Value

Type: Memory

a gstreamer.Memory that contains the data of the memory block at idx. Use gst_memory_unref () after usage.