diff options
Diffstat (limited to 'overlays/quickshell')
| -rw-r--r-- | overlays/quickshell/pipewire.patch | 28 |
1 files changed, 28 insertions, 0 deletions
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 | |||
| 211 | bool | 211 | bool |
| 212 | setRouteProps(qint32 routeDevice, const std::function<void*(spa_pod_builder*)>& propsCallback); | 212 | setRouteProps(qint32 routeDevice, const std::function<void*(spa_pod_builder*)>& propsCallback); |
| 213 | 213 | ||
| 214 | diff --git i/src/services/pipewire/node.cpp w/src/services/pipewire/node.cpp | ||
| 215 | index 3e68149..4721a58 100644 | ||
| 216 | --- i/src/services/pipewire/node.cpp | ||
| 217 | +++ w/src/services/pipewire/node.cpp | ||
| 218 | @@ -145,6 +145,10 @@ void PwNode::initProps(const spa_dict* props) { | ||
| 219 | this->type = PwNodeType::VideoSink; | ||
| 220 | } else if (strcmp(mediaClass, "Video/Source") == 0) { | ||
| 221 | this->type = PwNodeType::VideoSource; | ||
| 222 | + } else if (strcmp(mediaClass, "Stream/Output/Video") == 0) { | ||
| 223 | + this->type = PwNodeType::VideoOutStream; | ||
| 224 | + } else if (strcmp(mediaClass, "Stream/Input/Video") == 0) { | ||
| 225 | + this->type = PwNodeType::VideoInStream; | ||
| 226 | } | ||
| 227 | } | ||
| 228 | |||
| 229 | diff --git i/src/services/pipewire/node.hpp w/src/services/pipewire/node.hpp | ||
| 230 | index 0d4c92e..ee6f223 100644 | ||
| 231 | --- i/src/services/pipewire/node.hpp | ||
| 232 | +++ w/src/services/pipewire/node.hpp | ||
| 233 | @@ -144,6 +144,8 @@ public: | ||
| 234 | // This is equivalent to the media class `Video/Sink` and is composed of the | ||
| 235 | // @@PwNodeType.Video and @@PwNodeType.Sink flags. | ||
| 236 | VideoSink = Video | Sink, | ||
| 237 | + VideoOutStream = Video | Sink | Stream, | ||
| 238 | + VideoInStream = Video | Source | Stream, | ||
| 239 | }; | ||
| 240 | Q_ENUM(Flag); | ||
| 241 | Q_DECLARE_FLAGS(Flags, Flag); | ||
| 214 | diff --git i/src/services/pipewire/qml.cpp w/src/services/pipewire/qml.cpp | 242 | diff --git i/src/services/pipewire/qml.cpp w/src/services/pipewire/qml.cpp |
| 215 | index 9efb17e..921d12a 100644 | 243 | index 9efb17e..921d12a 100644 |
| 216 | --- i/src/services/pipewire/qml.cpp | 244 | --- i/src/services/pipewire/qml.cpp |
