Gst.Memory.prototype.resize
function resize(offset:gssize, size:gsize):void { // Gjs wrapper for gst_memory_resize() }
Resize the memory region. mem should be writable and offset + size should be less than the maxsize of mem.
#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED will be cleared when offset or padding is increased respectively.
- offset
a new offset
- size
a new size