mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
stream: set the right NODE_NAME
This commit is contained in:
parent
469dff0153
commit
eeeca7ecd2
2 changed files with 2 additions and 2 deletions
|
|
@ -967,7 +967,7 @@ filter_new(struct pw_context *context, const char *name,
|
||||||
str = pw_properties_get(extra, PW_KEY_APP_PROCESS_BINARY);
|
str = pw_properties_get(extra, PW_KEY_APP_PROCESS_BINARY);
|
||||||
if (str == NULL)
|
if (str == NULL)
|
||||||
str = name;
|
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);
|
spa_hook_list_init(&impl->hooks);
|
||||||
|
|
|
||||||
|
|
@ -1116,7 +1116,7 @@ stream_new(struct pw_context *context, const char *name,
|
||||||
str = pw_properties_get(extra, PW_KEY_APP_PROCESS_BINARY);
|
str = pw_properties_get(extra, PW_KEY_APP_PROCESS_BINARY);
|
||||||
if (str == NULL)
|
if (str == NULL)
|
||||||
str = name;
|
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);
|
spa_hook_list_init(&impl->hooks);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue