diff --git a/src/pipewire/conf.c b/src/pipewire/conf.c index db3982b95..e4a4336a4 100644 --- a/src/pipewire/conf.c +++ b/src/pipewire/conf.c @@ -634,8 +634,10 @@ static bool find_match(struct spa_json *arr, const struct spa_dict *props) match++; pw_log_debug("'%s' match '%s' < > '%.*s'", key, str, len, value); } - else + else { fail++; + break; + } } if (match > 0 && fail == 0) return true;