Hugues Fruchet e4bc88492a waylandsink: do not use drm dumb pool when importing DMAbuf buffers
There is no need to use DRM dumb pool if buffer to
render is already a DMABuf, just import it and render it.

This fixes a DMAbuf memory leakage when waylandsink downstream
element exports DMABuf while waylandsink is configured to be
DMABuf exporter (drm-device=/drv/dri/card0):

gst-launch-1.0 v4l2src io-mode=4 ! waylandsink drm-device=/dev/dri/card0

leakage identfied with command:
watch "cat /sys/kernel/debug/dma_buf/bufinfo | grep attached "

Fixes #2729

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5350>
2023-09-19 16:21:58 +00:00
..
2023-01-08 03:49:03 +00:00
2022-11-10 09:53:29 +00:00
2023-08-08 22:12:29 +00:00
2023-08-18 10:40:50 +00:00
2023-08-30 15:45:12 +00:00
2023-01-24 15:25:07 +00:00
2023-01-24 15:25:07 +00:00
2023-07-05 03:00:43 +00:00