pipewire/spa
Wim Taymans 858d4e9e1c buffer: add MAPPABLE data flag
Add a MAPPABLE data flag that hints that the fd in the data is mappable
with a simple mmap/munmap. Normally, DmaBuf is not mappable like that
unless explicitly indicated with this flag.

Set the MAPPABLE flag on the DmaBuf from v4l2 and libcamera fd.

When asked, mmap the buffer memory in all cases when the MAPPABLE
flag is set.

This solves the case where v4l2 has exported DmaBuf and is streaming to
node A and then node B links but doesn't get automatically mmaped
memory.

Fixes #3840
2024-02-08 18:09:08 +01:00
..
examples meson: fix compilation when spa-plugins is disabled 2024-02-06 11:50:54 +01:00
include buffer: add MAPPABLE data flag 2024-02-08 18:09:08 +01:00
include-private/spa-private spa: move dbus helpers out of bluez plugin 2024-02-05 13:03:20 +00:00
plugins buffer: add MAPPABLE data flag 2024-02-08 18:09:08 +01:00
tests Add GNU/Hurd support 2023-09-24 15:11:52 +00:00
tools treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
meson.build meson: fix compilation when spa-plugins is disabled 2024-02-06 11:50:54 +01:00