mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
access: only check for Flatpak on Linux
This commit is contained in:
parent
c1cda26ce8
commit
2ae840bc12
1 changed files with 2 additions and 0 deletions
|
|
@ -189,6 +189,7 @@ context_check_access(void *data, struct pw_impl_client *client)
|
|||
(access = pw_properties_get(impl->properties, "access.force")) != NULL)
|
||||
goto wait_permissions;
|
||||
|
||||
#if defined(__linux__)
|
||||
res = check_flatpak(client, pid);
|
||||
if (res != 0) {
|
||||
if (res < 0) {
|
||||
|
|
@ -205,6 +206,7 @@ context_check_access(void *data, struct pw_impl_client *client)
|
|||
access = "flatpak";
|
||||
goto wait_permissions;
|
||||
}
|
||||
#endif
|
||||
access = "unrestricted";
|
||||
|
||||
granted:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue