From 1e7aef56007761e4132f40d75a637513ee3b101f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 17 Sep 2024 09:17:47 +0200 Subject: [PATCH] impl-node: only let the server send RequestProcess commands When we emit the RequestProcess event from an exported node, don't send the RequestProcess command to ourselves but let the server decide where to send it to. --- src/pipewire/impl-node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipewire/impl-node.c b/src/pipewire/impl-node.c index e14207e8d..5ea4af80f 100644 --- a/src/pipewire/impl-node.c +++ b/src/pipewire/impl-node.c @@ -1894,7 +1894,7 @@ static void node_event(void *data, const struct spa_event *event) break; case SPA_NODE_EVENT_RequestProcess: pw_log_debug("request process"); - if (!node->driving) { + if (!node->driving && !node->exported) { pw_impl_node_send_command(node->driver_node, &SPA_NODE_COMMAND_INIT(SPA_NODE_COMMAND_RequestProcess)); }