Buffer.getMemoryRange

Get length memory blocks in buffer starting at idx. The memory blocks will be merged into one large gstreamer.Memory

If length is -1, all memory starting from idx is merged.

class Buffer
getMemoryRange
(
uint idx
,
int length
)

Parameters

idx uint

an index

length int

a length

Return Value

Type: Memory

a gstreamer.Memory that contains the merged data of length blocks starting at idx. Use gst_memory_unref () after usage.