From 988fc9692ad5896f5673cbcbb1d9d63edbe2f769 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 14 May 2023 20:55:38 +0200 Subject: [PATCH] impl-link: only activate links between runnable nodes The node might be active but passive, in which case it will not run and there is no need to schedule it. Fixes #3215 --- src/pipewire/impl-link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipewire/impl-link.c b/src/pipewire/impl-link.c index 0a97d3c18..8d56a2d70 100644 --- a/src/pipewire/impl-link.c +++ b/src/pipewire/impl-link.c @@ -662,7 +662,7 @@ int pw_impl_link_activate(struct pw_impl_link *this) pw_link_state_as_string(this->info.state)); if (impl->activated || !this->prepared || - !impl->inode->active || !impl->onode->active) + !impl->inode->runnable || !impl->onode->runnable) return 0; if (!impl->io_set) {