summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2023-04-18 14:53:57 +0200
committerDaniel Stone <daniels@collabora.com>2023-04-19 13:56:44 +0000
commit2d3e170955fee3878d13efe392d88987045d5352 (patch)
treed7c9bdd6bb6578971fd98f9dba8db00a236b06d6
parentdfa821d4c0378b0c9ed5deabd1fd06c1afff9d35 (diff)
downloadweston-2d3e170955fee3878d13efe392d88987045d5352.tar.gz
backend-pipewire: remove linear modifier for now
As of PipeWire version 0.3.69, the gstpipewiresrc element uses the existence of a modifier as a trigger to select dmabuf memory, failing caps negotiation as we don't send DMA buffers yet. Remove the linear modifier for now, to be added back when we add dmabuf support to the PipeWire backend. This allows testing the PipeWire backend with current GStreamer + PipeWire. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
-rw-r--r--libweston/backend-pipewire/pipewire.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libweston/backend-pipewire/pipewire.c b/libweston/backend-pipewire/pipewire.c
index 1e7ac06d..6586aec1 100644
--- a/libweston/backend-pipewire/pipewire.c
+++ b/libweston/backend-pipewire/pipewire.c
@@ -217,7 +217,6 @@ pipewire_output_connect(struct pipewire_output *output)
SPA_FORMAT_mediaType, SPA_POD_Id(SPA_MEDIA_TYPE_video),
SPA_FORMAT_mediaSubtype, SPA_POD_Id(SPA_MEDIA_SUBTYPE_raw),
SPA_FORMAT_VIDEO_format, SPA_POD_Id(format),
- SPA_FORMAT_VIDEO_modifier, SPA_POD_Long(DRM_FORMAT_MOD_LINEAR),
SPA_FORMAT_VIDEO_size, SPA_POD_Rectangle(&SPA_RECTANGLE(width, height)),
SPA_FORMAT_VIDEO_framerate, SPA_POD_Fraction(&SPA_FRACTION (0, 1)),
SPA_FORMAT_VIDEO_maxFramerate,