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
This commit is contained in:
Wim Taymans 2023-05-14 20:55:38 +02:00
parent a25c021074
commit 988fc9692a

View file

@ -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) {