From caa39c5833fcbd236195dc9da245861f39adfca0 Mon Sep 17 00:00:00 2001 From: Ward Nakchbandi Date: Sat, 4 Mar 2023 20:39:36 +0300 Subject: [PATCH] fix 8293.patch --- debian/patches/8293.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/debian/patches/8293.patch b/debian/patches/8293.patch index d48f3c7..eb5befe 100644 --- a/debian/patches/8293.patch +++ b/debian/patches/8293.patch @@ -1,3 +1,18 @@ +From 9b5bbe118f0d09c5ed015fb66676cd48ad9fb1ae Mon Sep 17 00:00:00 2001 +From: columbarius +Date: Sat, 21 Jan 2023 08:45:38 +0100 +Subject: [PATCH] pipewire: calc spa buffer size + +Modern GPUs might support a lot of modifiers. As such the hardcoded size +for the ENUM_Formats PipeWire params are not enough and we should +calculate the required size manually. + +Added logs if a ENUM_Format can't be assembled, which happens when the +buffer size was not large enough. +--- + plugins/linux-pipewire/pipewire.c | 47 +++++++++++++++++++++++++++++-- + 1 file changed, 45 insertions(+), 2 deletions(-) + diff --git a/plugins/linux-pipewire/pipewire.c b/plugins/linux-pipewire/pipewire.c index 444259b965c12..d1ff3e33fc410 100644 --- a/plugins/linux-pipewire/pipewire.c