mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
conf: fix priority of the overrides
A config file with a higher level should override one with a lower level. Fixes #4816
This commit is contained in:
parent
bef0706238
commit
88d7d5706a
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ static bool check_override(struct pw_properties *conf, const char *name, int lev
|
|||
continue;
|
||||
if (sscanf(it->key, "override.%d.%d.config.name", &lev, &idx) != 2)
|
||||
continue;
|
||||
if (lev < level)
|
||||
if (lev > level)
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue