diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-08-05 13:43:56 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-08-05 13:43:56 +0200 |
commit | eeeca7ecd2f138012f0ae4ab0d2fc52ef266cefd (patch) | |
tree | abb0ed691804ec0d96d22963ebb474e2e36342b8 | |
parent | 469dff0153dd430ce9d2dedacd137796d2352a8d (diff) |
stream: set the right NODE_NAME
-rw-r--r-- | src/pipewire/filter.c | 2 | ||||
-rw-r--r-- | src/pipewire/stream.c | 2 |
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); |