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

@ -298,7 +298,7 @@ int session_init(struct session *this,
if (!properties)
goto no_mem;
pw_properties_copy_keys(this->props, properties, keys);
pw_properties_update_keys(properties, &this->props->dict, keys);
this->global = pw_global_new (core,
PW_TYPE_INTERFACE_Session,