pulse: don't try to do set_param when not writable

This commit is contained in:
Wim Taymans 2020-07-16 13:25:03 +02:00
parent cbc579825c
commit ac97175380
3 changed files with 16 additions and 0 deletions

View file

@ -1214,6 +1214,7 @@ static void registry_event_global(void *data, uint32_t id,
pw_log_debug("context %p: global %d %s %p", c, id, type, g);
g->context = c;
g->id = id;
g->permissions = permissions;
g->type = strdup(type);
g->init = true;
g->props = props ? pw_properties_new_dict(props) : NULL;