node: set node name in global

This commit is contained in:
Wim Taymans 2018-02-09 18:15:03 +01:00
parent 001e693e5c
commit dfa39ab2ff

View file

@ -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,