:right-sidebar: True MemoryFlags =================================================================== .. currentmodule:: gi.repository.Gst .. class:: MemoryFlags :no-contents-entry: Flags for wrapped memory. Fields ------ .. rst-class:: interim-class .. class:: MemoryFlags :no-index: .. attribute:: LAST First flag that can be used for custom purposes .. attribute:: NOT_MAPPABLE The memory can't be mapped via :func:`~gi.repository.Gst.Memory.map` without any preconditions. (Since: 1.2) .. attribute:: NO_SHARE Memory must not be shared. Copies will have to be made when this memory needs to be shared between buffers. (DEPRECATED: do not use in new code, instead you should create a custom GstAllocator for memory pooling instead of relying on the GstBuffer they were originally attached to.) .. attribute:: PHYSICALLY_CONTIGUOUS The memory is physically contiguous. (Since: 1.2) .. attribute:: READONLY Memory is readonly. It is not allowed to map the memory with ``GST_MAP_WRITE``. .. attribute:: ZERO_PADDED The memory padding is filled with 0 bytes .. attribute:: ZERO_PREFIXED The memory prefix is filled with 0 bytes