gstreamer/subprojects/gst-plugins-base/gst-libs/gst/allocators
Damian Hobson-Garcia 1ef7e9be73 GstShmAllocator: Map/unmap full buffer when padding is added
When allocating buffers with alignment parameters specified, it
may be necessary to overallocate memory to adjust to the requested
alignment.  Previously the padding length was not included in the mmaped
buffer size, leaving unmapped bytes at the end of the buffer.
This caused intermittent SEGV faults and valgrind failures when running
the wayland_threads example.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6104>
2024-02-12 16:19:35 -05: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 GstShmAllocator: Map/unmap full buffer when padding is added 2024-02-12 16:19:35 -05: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