GstShmAllocator: Use GST_ALLOCATOR_FLAG_NO_COPY flag

Sponsored-by: Netflix Inc.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5328>
This commit is contained in:
Xavier Claessens 2023-09-18 14:38:24 -04:00 committed by GStreamer Marge Bot
parent 7df22b338b
commit d59ea1caf0

View file

@ -136,7 +136,7 @@ gst_shm_allocator_init (GstShmAllocator * self)
alloc->mem_type = GST_ALLOCATOR_SHM;
GST_OBJECT_FLAG_SET (self, GST_ALLOCATOR_FLAG_CUSTOM_ALLOC);
GST_OBJECT_FLAG_SET (self, GST_ALLOCATOR_FLAG_NO_COPY);
}
void