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.

class Memory
void
resize

Parameters

offset gssize

a new offset

size gsize

a new size

Meta