Revert "filter-graph: pass context to plugins"

This reverts commit 5e521d3532.

I think this can be done in a better, more flexible way with a new
method on the filter-graph to set io areas.
This commit is contained in:
Wim Taymans 2026-07-02 16:35:38 +02:00
parent c4a9023215
commit c06b6c53c2
10 changed files with 17 additions and 67 deletions

View file

@ -1278,8 +1278,7 @@ static int setup_filter_graph(struct impl *this, struct filter_graph *g,
res = spa_filter_graph_activate(g->graph,
&SPA_DICT_ITEMS(
SPA_DICT_ITEM(SPA_KEY_AUDIO_RATE, rate_str),
SPA_DICT_ITEM("filter-graph.n_inputs", channels ? in_ports : NULL)),
0, NULL);
SPA_DICT_ITEM("filter-graph.n_inputs", channels ? in_ports : NULL)));
g->setup = res >= 0;