From 07696d5d57611544e6929042f2bc03e98a3462de Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 20 Oct 2023 17:29:55 +0200 Subject: [PATCH] filter-chain: also handle notify ports as dependencies The links from the notify ports to other nodes decrement the dependencies. See #3596 --- src/modules/module-filter-chain.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/module-filter-chain.c b/src/modules/module-filter-chain.c index 3a38315c0..7c0f14ab4 100644 --- a/src/modules/module-filter-chain.c +++ b/src/modules/module-filter-chain.c @@ -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++) {