From d20393e077b8d97b18f4a224ddcb20caf6dac23b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 10 Sep 2025 15:57:26 +0200 Subject: ... --- overlays/quickshell/pipewire.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'overlays/quickshell') diff --git a/overlays/quickshell/pipewire.patch b/overlays/quickshell/pipewire.patch index 33025d8b..2d98eefc 100644 --- a/overlays/quickshell/pipewire.patch +++ b/overlays/quickshell/pipewire.patch @@ -211,6 +211,34 @@ index 1a1f705..ee64858 100644 bool setRouteProps(qint32 routeDevice, const std::function& propsCallback); +diff --git i/src/services/pipewire/node.cpp w/src/services/pipewire/node.cpp +index 3e68149..4721a58 100644 +--- i/src/services/pipewire/node.cpp ++++ w/src/services/pipewire/node.cpp +@@ -145,6 +145,10 @@ void PwNode::initProps(const spa_dict* props) { + this->type = PwNodeType::VideoSink; + } else if (strcmp(mediaClass, "Video/Source") == 0) { + this->type = PwNodeType::VideoSource; ++ } else if (strcmp(mediaClass, "Stream/Output/Video") == 0) { ++ this->type = PwNodeType::VideoOutStream; ++ } else if (strcmp(mediaClass, "Stream/Input/Video") == 0) { ++ this->type = PwNodeType::VideoInStream; + } + } + +diff --git i/src/services/pipewire/node.hpp w/src/services/pipewire/node.hpp +index 0d4c92e..ee6f223 100644 +--- i/src/services/pipewire/node.hpp ++++ w/src/services/pipewire/node.hpp +@@ -144,6 +144,8 @@ public: + // This is equivalent to the media class `Video/Sink` and is composed of the + // @@PwNodeType.Video and @@PwNodeType.Sink flags. + VideoSink = Video | Sink, ++ VideoOutStream = Video | Sink | Stream, ++ VideoInStream = Video | Source | Stream, + }; + Q_ENUM(Flag); + Q_DECLARE_FLAGS(Flags, Flag); diff --git i/src/services/pipewire/qml.cpp w/src/services/pipewire/qml.cpp index 9efb17e..921d12a 100644 --- i/src/services/pipewire/qml.cpp -- cgit v1.2.3