mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
parent
a417ffcd38
commit
350fa39aba
1 changed files with 2 additions and 0 deletions
|
|
@ -141,6 +141,8 @@ static struct pw_manager_object *select_object(struct pw_manager *m,
|
|||
(str = pw_properties_get(o->props, s->key)) != NULL &&
|
||||
strcmp(str, s->value) == 0)
|
||||
return o;
|
||||
if (s->value != NULL && (uint32_t)atoi(s->value) == o->id)
|
||||
return o;
|
||||
}
|
||||
return s->best;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue