Merge branch 'conf-array-matching-fix' into 'master'

conf: fix matching of property values with colons

See merge request pipewire/pipewire!2875
This commit is contained in:
Julian Bouzas 2026-06-24 15:05:04 +00:00
commit 5d2f55c6af

View file

@ -712,7 +712,7 @@ bool pw_conf_find_match(struct spa_json *arr, const struct spa_dict *props, bool
reg = false;
}
}
if (spa_json_begin_array_relax(&it[1], str, strlen(str)) > 0) {
if (spa_json_begin_array(&it[1], str, strlen(str)) > 0) {
while (spa_json_get_string(&it[1], v, sizeof(v)) > 0) {
if ((reg && regexec(&preg, v, 0, NULL, 0) == 0) ||
spa_streq(v, val)) {