mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
filter-chain: control is just an object
This commit is contained in:
parent
1088f875d4
commit
2714ba47ac
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue