mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
properties: copy_keys -> update_keys
Change copy_keys to update_keys and make it more powerful by taking a spa_dict as the source. Copy some more properties in the session.
This commit is contained in:
parent
60cd74fdb0
commit
9df6efcd8d
12 changed files with 23 additions and 18 deletions
|
|
@ -93,7 +93,7 @@ static int client_session_link_update(void *object,
|
|||
props = pw_properties_new(NULL, NULL);
|
||||
if (!props)
|
||||
goto no_mem;
|
||||
pw_properties_copy_keys (session->props, props, keys);
|
||||
pw_properties_update_keys(props, &session->props->dict, keys);
|
||||
|
||||
if (endpoint_link_init(link, link_id, session->info.id,
|
||||
this, core, props) < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue