mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-30 22:00:07 +01:00
modules: si-adapter: fix segfault when setting priority property
This commit is contained in:
parent
616034174d
commit
104e90c98c
1 changed files with 1 additions and 1 deletions
|
|
@ -386,8 +386,8 @@ si_adapter_get_properties (WpSiEndpoint * item)
|
|||
|
||||
result = wp_properties_new (
|
||||
PW_KEY_MEDIA_ROLE, self->role,
|
||||
"endpoint.priority", self->priority,
|
||||
NULL);
|
||||
wp_properties_setf (result, "endpoint.priority", "%u", self->priority);
|
||||
|
||||
/* copy useful properties from the node */
|
||||
node_props = wp_proxy_get_properties (WP_PROXY (self->node));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue