Memory.init

Initializes a newly allocated mem with the given parameters. This function will call gst_mini_object_init() with the default memory parameters.

Parameters

flags GstMemoryFlags

GstMemoryFlags

allocator Allocator

the GstAllocator

parent Memory

the parent of mem

maxsize gsize

the total size of the memory

offset gsize

The offset in the memory

size gsize

the size of valid data in the memory

Meta