mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 16:51:10 +00:00
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:
parent
7df22b338b
commit
d59ea1caf0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue