module-combine: use a better empty property string

The empty string fails to parse as a properties, use "{}" instead.
This commit is contained in:
Wim Taymans 2025-06-12 16:35:49 +02:00
parent 046fdad4ee
commit 549f3fc46f

View file

@ -1497,7 +1497,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
spa_list_init(&impl->streams);
if (args == NULL)
args = "";
args = "{}";
props = pw_properties_new_string_checked(args, strlen(args), &loc);
if (props == NULL) {