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

@ -241,11 +241,11 @@ static void update_monitor(struct pw_core *core, const char *name)
props = pw_core_get_properties(core);
if (props)
monitors = pw_properties_get(props, "monitors");
monitors = pw_properties_get(props, PW_KEY_CORE_MONITORS);
else
monitors = NULL;
item.key = "monitors";
item.key = PW_KEY_CORE_MONITORS;
if (monitors == NULL)
item.value = name;
else