Memory.resize
void resize(ptrdiff_t offset, size_t size)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.
Parameters
offset | a new offset |
size | a new size |