mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
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:
parent
a25c021074
commit
988fc9692a
1 changed files with 1 additions and 1 deletions
|
|
@ -662,7 +662,7 @@ int pw_impl_link_activate(struct pw_impl_link *this)
|
||||||
pw_link_state_as_string(this->info.state));
|
pw_link_state_as_string(this->info.state));
|
||||||
|
|
||||||
if (impl->activated || !this->prepared ||
|
if (impl->activated || !this->prepared ||
|
||||||
!impl->inode->active || !impl->onode->active)
|
!impl->inode->runnable || !impl->onode->runnable)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (!impl->io_set) {
|
if (!impl->io_set) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue