diff options
-rw-r--r-- | src/pipewire/node.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pipewire/node.c b/src/pipewire/node.c index 921939cd..88de2aa3 100644 --- a/src/pipewire/node.c +++ b/src/pipewire/node.c @@ -487,6 +487,8 @@ 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); + if ((str = pw_properties_get(this->properties, "media.role")) != NULL) + pw_properties_set(properties, "media.role", str); pw_properties_set(properties, "node.name", this->info.name); if ((str = pw_properties_get(this->properties, "node.session")) != NULL) pw_properties_set(properties, "node.session", str); |