mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
context: add missing link prepare
It got removed accidentally in a previous commit, breaking some of the loopback devices. Fixes #1472
This commit is contained in:
parent
fc85b33e80
commit
f71529cbaf
1 changed files with 4 additions and 2 deletions
|
|
@ -995,6 +995,8 @@ static int collect_nodes(struct pw_context *context, struct pw_impl_node *driver
|
|||
if (t->visited || !t->active)
|
||||
continue;
|
||||
|
||||
pw_impl_link_prepare(l);
|
||||
|
||||
if (!l->passive)
|
||||
driver->passive = n->passive = false;
|
||||
|
||||
|
|
@ -1004,8 +1006,8 @@ static int collect_nodes(struct pw_context *context, struct pw_impl_node *driver
|
|||
}
|
||||
}
|
||||
}
|
||||
/* now go through all the followers of this driver and add the
|
||||
* nodes that have the same group and that are not yet visited */
|
||||
/* now go through all the nodes that have the same group and
|
||||
* that are not yet visited */
|
||||
if (n->group[0] == '\0')
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue