device: Copy the props instead of wrapping them before emitting create-device signal

This allows the signal handlers to have full control of the properties.
This commit is contained in:
Julian Bouzas 2025-10-28 09:35:53 -04:00 committed by George Kiagiadakis
parent c0e047c241
commit c68eb59017

View file

@ -438,7 +438,7 @@ spa_device_event_object_info (void *data, uint32_t id,
g_autoptr (WpProperties) props = NULL; g_autoptr (WpProperties) props = NULL;
type = spa_debug_type_short_name (info->type); type = spa_debug_type_short_name (info->type);
props = wp_properties_new_wrap_dict (info->props); props = wp_properties_new_copy_dict (info->props);
wp_debug_object (self, "object info: id:%u type:%s factory:%s", wp_debug_object (self, "object info: id:%u type:%s factory:%s",
id, type, info->factory_name); id, type, info->factory_name);