mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
protocol-native: put client properties in global
This commit is contained in:
parent
161ad70114
commit
dfde479b20
1 changed files with 2 additions and 1 deletions
|
|
@ -293,7 +293,8 @@ static struct pw_client *client_new(struct server *s, int fd)
|
|||
|
||||
pw_global_bind(pw_core_get_global(core), client, PW_PERM_RWX, PW_VERSION_CORE, 0);
|
||||
|
||||
pw_client_register(client, client, pw_module_get_global(pd->module), NULL);
|
||||
props = pw_properties_copy(pw_client_get_properties(client));
|
||||
pw_client_register(client, client, pw_module_get_global(pd->module), props);
|
||||
|
||||
return client;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue