From 8a1ed019231cdc6c8478384e70bfab84565edff3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 14 Mar 2024 11:10:38 +0100 Subject: [PATCH] protocol-native: update the properties correctly --- src/modules/module-protocol-native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-protocol-native.c b/src/modules/module-protocol-native.c index 786319f6a..5442eed1e 100644 --- a/src/modules/module-protocol-native.c +++ b/src/modules/module-protocol-native.c @@ -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;