mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-27 21:40:06 +01:00
module-pipewire: always include the node Id in the endpoint name
This commit is contained in:
parent
e6d048c056
commit
d20633b831
1 changed files with 3 additions and 2 deletions
|
|
@ -80,8 +80,9 @@ on_node_added (WpRemotePipewire *rp, guint id, guint parent_id, gconstpointer p,
|
|||
/* Set the properties */
|
||||
g_variant_builder_init (&b, G_VARIANT_TYPE_VARDICT);
|
||||
g_variant_builder_add (&b, "{sv}",
|
||||
"name", name ? g_variant_new_string (name) :
|
||||
g_variant_new_take_string (g_strdup_printf ("Stream %u", id)));
|
||||
"name", name ?
|
||||
g_variant_new_take_string (g_strdup_printf ("Stream %u (%s)", id, name)) :
|
||||
g_variant_new_take_string (g_strdup_printf ("Stream %u", id)));
|
||||
g_variant_builder_add (&b, "{sv}",
|
||||
"media-class", g_variant_new_string (media_class));
|
||||
g_variant_builder_add (&b, "{sv}",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue