mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-07-05 00:06:16 -04:00
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:
commit
5d2f55c6af
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue