mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-combine: use a better empty property string
The empty string fails to parse as a properties, use "{}" instead.
This commit is contained in:
parent
e3f6a81df1
commit
a975973bc2
1 changed files with 1 additions and 1 deletions
|
|
@ -1497,7 +1497,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
||||||
spa_list_init(&impl->streams);
|
spa_list_init(&impl->streams);
|
||||||
|
|
||||||
if (args == NULL)
|
if (args == NULL)
|
||||||
args = "";
|
args = "{}";
|
||||||
|
|
||||||
props = pw_properties_new_string_checked(args, strlen(args), &loc);
|
props = pw_properties_new_string_checked(args, strlen(args), &loc);
|
||||||
if (props == NULL) {
|
if (props == NULL) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue