pipewire/src/gst
Robert Mader 6bf47e0bfa pipewiresrc: Always advertise support for DmaBuf
Quoting https://docs.pipewire.org/page_dma_buf.html section "v4l2":
```
It's the the responsibility of the producer while the add_buffer event
to choose DMA-BUF as the used buffer type even though no modifier is
present, if it can guarantee, that the used buffer is mmapable.
```

As Gstreamer internally can mmap dmabufs just fine, support this case.
This enables dmabuf support with V4L2 and libcamera.

This was also tested against Gnome-Shell, which correctly handles this
case and only chooses DmaBuf if the negotiated format has a modifier,
i.e. if the Gstreamer peer supports the format with
`GST_CAPS_FEATURE_MEMORY_DMABUF`.

Fixes 602aa7d541
2023-01-12 11:27:27 +00:00
..
.editorconfig add .editorconfig files 2019-02-13 11:19:21 +01:00
gstpipewire.c treewide: only define feature macros when the feature is available 2022-02-04 00:15:59 +01:00
gstpipewireclock.c meson.build: drop HAVE_CONFIG_H 2021-06-10 09:04:16 +10:00
gstpipewireclock.h gst: replace tabs with spaces 2019-12-19 15:42:42 +01:00
gstpipewirecore.c Cleanup argument names in methods and events interfaces 2022-04-15 10:11:49 +02:00
gstpipewirecore.h gst: add 30 seconds timeout 2021-09-16 10:05:58 +02:00
gstpipewiredeviceprovider.c gst: don't set the deprecated path anymore 2023-01-10 16:47:47 +01:00
gstpipewiredeviceprovider.h gst: deviceprodiver: Add fd property / camera portal support 2022-12-27 23:43:22 +01:00
gstpipewireformat.c pipewiresrc: Reenable DMABuf support 2023-01-08 09:17:19 +00:00
gstpipewireformat.h gst: replace tabs with spaces 2019-12-19 15:42:42 +01:00
gstpipewirepool.c gst: Log buffer memory type 2023-01-12 11:27:27 +00:00
gstpipewirepool.h gst: Implement SPA_META_VideoTransform support 2022-12-05 18:40:00 +01:00
gstpipewiresink.c clarify deprecated use of NODE_TARGET 2023-01-10 17:21:02 +01:00
gstpipewiresink.h gst: add client-properties 2022-06-03 13:00:52 +02:00
gstpipewiresrc.c pipewiresrc: Always advertise support for DmaBuf 2023-01-12 11:27:27 +00:00
gstpipewiresrc.h gst: Implement SPA_META_VideoTransform support 2022-12-05 18:40:00 +01:00
meson.build treewide: meson.build: use feature.allowed() 2022-02-04 00:15:59 +01:00