From 15b4c58e8047dad468be2804328076b83cdccbb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Thu, 11 Nov 2021 11:00:50 +0100 Subject: [PATCH] gst: Don't ask for DMA buffers Gstreamer simply mmap()s the DMA buffers. This can be very very slow on some hardware, so don't ask for it. For gstreamer to support DMA buffers, it will need to support a proper way of transferring the buffers from the GPU to the CPU, e.g. using EGL/OpenGL. --- src/gst/gstpipewiresink.c | 1 - src/gst/gstpipewiresrc.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/gst/gstpipewiresink.c b/src/gst/gstpipewiresink.c index b971722a5..34639cdbd 100644 --- a/src/gst/gstpipewiresink.c +++ b/src/gst/gstpipewiresink.c @@ -254,7 +254,6 @@ pool_activated (GstPipeWirePool *pool, GstPipeWireSink *sink) max_buffers ? max_buffers : INT32_MAX), SPA_PARAM_BUFFERS_align, SPA_POD_Int(16), SPA_PARAM_BUFFERS_dataType, SPA_POD_CHOICE_FLAGS_Int( - (1<