mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
access: use key to access property
This commit is contained in:
parent
119ef5e376
commit
cd7763c814
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ static void object_update(void *data)
|
||||||
struct pw_permission permissions[1];
|
struct pw_permission permissions[1];
|
||||||
|
|
||||||
if (client->obj->info == NULL || client->obj->info->props == NULL ||
|
if (client->obj->info == NULL || client->obj->info->props == NULL ||
|
||||||
(str = spa_dict_lookup(client->obj->info->props, "pipewire.access")) == NULL ||
|
(str = spa_dict_lookup(client->obj->info->props, PW_KEY_ACCESS)) == NULL ||
|
||||||
strcmp(str, "flatpak") != 0)
|
strcmp(str, "flatpak") != 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue