From 2714ba47ac2be757a2953f0ab81705ff2035097a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 5 May 2021 12:20:10 +0200 Subject: [PATCH] filter-chain: control is just an object --- src/modules/module-filter-chain.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/module-filter-chain.c b/src/modules/module-filter-chain.c index 3cf272a0f..a523a9827 100644 --- a/src/modules/module-filter-chain.c +++ b/src/modules/module-filter-chain.c @@ -831,8 +831,7 @@ static int load_node(struct graph *graph, struct spa_json *json) return -EINVAL; } } else if (strcmp("control", key) == 0) { - if (spa_json_enter_array(json, &it[0]) <= 0) - return -EINVAL; + it[0] = *json; have_control = true; } else if (spa_json_next(json, &val) < 0) break;