make property for monitors

This commit is contained in:
Wim Taymans 2019-05-31 16:47:37 +02:00
parent a672a9ee67
commit 009a33668b
3 changed files with 5 additions and 3 deletions

View file

@ -302,7 +302,7 @@ on_core_info (void *data, const struct pw_core_info *info)
if (info == NULL || info->props == NULL)
return;
value = spa_dict_lookup (info->props, "monitors");
value = spa_dict_lookup (info->props, PW_KEY_CORE_MONITORS);
if (value) {
gchar **monitors = g_strsplit (value, ",", -1);
gint i;