From 75d7c574cfd37f30b780cd95eb9961d13b1ad932 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 4 May 2023 20:26:17 +0200 Subject: [PATCH] impl-node: don't do output mix for remote nodes Remote nodes already did the output mix remotely so we don't have to attempt it on the server (and it doesn't actually have output mixers). --- src/pipewire/impl-node.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pipewire/impl-node.c b/src/pipewire/impl-node.c index 99f04456b..e89b90102 100644 --- a/src/pipewire/impl-node.c +++ b/src/pipewire/impl-node.c @@ -1818,8 +1818,9 @@ again: a->status = PW_NODE_ACTIVATION_FINISHED; a->finish_time = nsec; } - - if (status & SPA_STATUS_HAVE_DATA) { + if (!node->remote && (status & SPA_STATUS_HAVE_DATA)) { + /* remote nodes have done the output mix already before + * they triggered the ready event */ spa_list_for_each(p, &node->rt.output_mix, rt.node_link) spa_node_process(p->mix); }