summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2020-08-05 13:43:56 +0200
committerWim Taymans <wtaymans@redhat.com>2020-08-05 13:43:56 +0200
commiteeeca7ecd2f138012f0ae4ab0d2fc52ef266cefd (patch)
treeabb0ed691804ec0d96d22963ebb474e2e36342b8
parent469dff0153dd430ce9d2dedacd137796d2352a8d (diff)
stream: set the right NODE_NAME
-rw-r--r--src/pipewire/filter.c2
-rw-r--r--src/pipewire/stream.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pipewire/filter.c b/src/pipewire/filter.c
index 97a56663..7db8076b 100644
--- a/src/pipewire/filter.c
+++ b/src/pipewire/filter.c
@@ -967,7 +967,7 @@ filter_new(struct pw_context *context, const char *name,
str = pw_properties_get(extra, PW_KEY_APP_PROCESS_BINARY);
if (str == NULL)
str = name;
- pw_properties_set(props, PW_KEY_NODE_NAME, name);
+ pw_properties_set(props, PW_KEY_NODE_NAME, str);
}
spa_hook_list_init(&impl->hooks);
diff --git a/src/pipewire/stream.c b/src/pipewire/stream.c
index 9db27296..ec82839a 100644
--- a/src/pipewire/stream.c
+++ b/src/pipewire/stream.c
@@ -1116,7 +1116,7 @@ stream_new(struct pw_context *context, const char *name,
str = pw_properties_get(extra, PW_KEY_APP_PROCESS_BINARY);
if (str == NULL)
str = name;
- pw_properties_set(props, PW_KEY_NODE_NAME, name);
+ pw_properties_set(props, PW_KEY_NODE_NAME, str);
}
spa_hook_list_init(&impl->hooks);