From 2d3e170955fee3878d13efe392d88987045d5352 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Tue, 18 Apr 2023 14:53:57 +0200 Subject: 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 --- libweston/backend-pipewire/pipewire.c | 1 - 1 file changed, 1 deletion(-) 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, -- cgit v1.2.1