summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2018-02-09 18:15:03 +0100
committerWim Taymans <wtaymans@redhat.com>2018-02-09 18:15:03 +0100
commitdfa39ab2ff03434fe161b4b047b63d9f842ef030 (patch)
tree6d81345b935b50176f5c4690a161e56b725e65dd
parent001e693e5c29565ad64c56e2e9eeda8d5f8d08e8 (diff)
node: set node name in global
-rw-r--r--src/pipewire/node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pipewire/node.c b/src/pipewire/node.c
index 363084bc..5c2ad753 100644
--- a/src/pipewire/node.c
+++ b/src/pipewire/node.c
@@ -354,6 +354,7 @@ int pw_node_register(struct pw_node *this,
if ((str = pw_properties_get(this->properties, "media.class")) != NULL)
pw_properties_set(properties, "media.class", str);
+ pw_properties_set(properties, "node.name", this->info.name);
spa_list_append(&core->node_list, &this->link);
this->global = pw_global_new(core,