mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
jack: prefer nick for node name
The nick is shorter and nicer for jack applications. We have the full description in the port alias 2.
This commit is contained in:
parent
d57da19f26
commit
d76b509995
1 changed files with 2 additions and 2 deletions
|
|
@ -2015,8 +2015,8 @@ static void registry_event_global(void *data, uint32_t id,
|
|||
|
||||
app = spa_dict_lookup(props, PW_KEY_APP_NAME);
|
||||
|
||||
if ((str = spa_dict_lookup(props, PW_KEY_NODE_DESCRIPTION)) == NULL &&
|
||||
(str = spa_dict_lookup(props, PW_KEY_NODE_NICK)) == NULL &&
|
||||
if ((str = spa_dict_lookup(props, PW_KEY_NODE_NICK)) == NULL &&
|
||||
(str = spa_dict_lookup(props, PW_KEY_NODE_DESCRIPTION)) == NULL &&
|
||||
(str = spa_dict_lookup(props, PW_KEY_NODE_NAME)) == NULL) {
|
||||
str = "node";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue