mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
update for keys
This commit is contained in:
parent
2057d7955c
commit
7d5e860d0c
3 changed files with 24 additions and 23 deletions
|
|
@ -1433,8 +1433,8 @@ static void sink_input_callback(struct sink_input_data *d)
|
|||
s = find_stream(d->context, g->id);
|
||||
|
||||
if (info->props) {
|
||||
if ((name = spa_dict_lookup(info->props, "media.name")) == NULL &&
|
||||
(name = spa_dict_lookup(info->props, "application.name")) == NULL)
|
||||
if ((name = spa_dict_lookup(info->props, PW_KEY_MEDIA_NAME)) == NULL &&
|
||||
(name = spa_dict_lookup(info->props, PW_KEY_APP_NAME)) == NULL)
|
||||
name = info->name;
|
||||
}
|
||||
else
|
||||
|
|
@ -1726,8 +1726,8 @@ static void source_output_callback(struct source_output_data *d)
|
|||
s = find_stream(d->context, g->id);
|
||||
|
||||
if (info->props) {
|
||||
if ((name = spa_dict_lookup(info->props, "media.name")) == NULL &&
|
||||
(name = spa_dict_lookup(info->props, "application.name")) == NULL)
|
||||
if ((name = spa_dict_lookup(info->props, PW_KEY_MEDIA_NAME)) == NULL &&
|
||||
(name = spa_dict_lookup(info->props, PW_KEY_APP_NAME)) == NULL)
|
||||
name = info->name;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue