mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
filter-chain: also handle notify ports as dependencies
The links from the notify ports to other nodes decrement the dependencies. See #3596
This commit is contained in:
parent
80afa3a296
commit
07696d5d57
1 changed files with 4 additions and 0 deletions
|
|
@ -2591,6 +2591,10 @@ static int setup_graph(struct graph *graph, struct spa_json *inputs, struct spa_
|
|||
spa_list_for_each(link, &node->output_port[i].link_list, output_link)
|
||||
link->input->node->n_deps--;
|
||||
}
|
||||
for (i = 0; i < desc->n_notify; i++) {
|
||||
spa_list_for_each(link, &node->notify_port[i].link_list, output_link)
|
||||
link->input->node->n_deps--;
|
||||
}
|
||||
|
||||
/* collect all control ports on the graph */
|
||||
for (i = 0; i < desc->n_control; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue