global: allow property updated for registered globals

The idea of fd2db174c1 was to allow for
property updates after the global was registered but this check was not
removed to actually make this happen.

Fixes #4851
This commit is contained in:
Wim Taymans 2025-08-18 11:25:50 +02:00
parent e8ae244b2b
commit 1d437dfb8e

View file

@ -237,8 +237,6 @@ SPA_EXPORT
int pw_global_update_keys(struct pw_global *global,
const struct spa_dict *dict, const char * const keys[])
{
if (global->registered)
return -EINVAL;
return pw_properties_update_keys(global->properties, dict, keys);
}