protocol-native: update the properties correctly

This commit is contained in:
Wim Taymans 2024-03-14 11:10:38 +01:00
parent 9af26d1718
commit 8a1ed01923

View file

@ -1684,7 +1684,7 @@ static int create_servers(struct pw_protocol *this, struct pw_impl_core *core,
info.gid = getgid();
pw_properties_clear(p);
pw_properties_copy(props);
pw_properties_update(p, &props->dict);
while (spa_json_get_string(&it[2], key, sizeof(key)) > 0) {
const char *value;