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:
Wim Taymans 2019-11-05 16:35:15 +01:00
parent 60cd74fdb0
commit 9df6efcd8d
12 changed files with 23 additions and 18 deletions

View file

@ -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)