gstreamer/subprojects/gst-plugins-base/gst-libs/gst/allocators
Nicolas Dufresne 0fd76c2848 allocators: drm-dumb: Fix non-thread safe dmabuf allocator creation
If the allocation function get called from multiple threads at the same time,
multiple allocators may get created but only one get saved. Leading to other
allocators to be leaked. Simply create it once in the instance initialization.

Fixes: #2456
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6052>
2024-02-05 07:39:56 +00:00
..
allocators-prelude.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
allocators.h GstShmAllocator: New shared memory allocator 2023-11-03 18:22:00 +00:00
gstdmabuf.c allocators: Add/fix various annotations 2022-10-18 13:51:17 +03:00
gstdmabuf.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstdrmdumb.c allocators: drm-dumb: Fix non-thread safe dmabuf allocator creation 2024-02-05 07:39:56 +00:00
gstdrmdumb.h allocators: Add a DRM Dumb Allocator 2023-03-14 21:50:57 +00:00
gstfdmemory.c fdmemory: drop use of GSlice 2023-01-24 15:25:06 +00:00
gstfdmemory.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstphysmemory.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstphysmemory.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstshmallocator.c allocators: shm: Remove future write sealing 2023-11-17 08:17:05 +00:00
gstshmallocator.h GstShmAllocator: Add documentation 2023-11-03 18:22:00 +00:00
meson.build GstShmAllocator: Use shm_open() instead of temporary file 2023-11-03 18:22:00 +00:00