mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
filter-graph: don't pass NULL label around
lv2 does not have a label, make sure we pass "" around like befor because code does not expect this to be NULL.
This commit is contained in:
parent
a188f1d29f
commit
74e576c31a
1 changed files with 1 additions and 1 deletions
|
|
@ -1355,7 +1355,7 @@ static int load_node(struct graph *graph, struct spa_json *json)
|
|||
|
||||
spa_log_info(impl->log, "loading type:%s plugin:%s label:%s", type, plugin, label);
|
||||
|
||||
if ((desc = descriptor_load(graph->impl, type, plugin, label)) == NULL)
|
||||
if ((desc = descriptor_load(graph->impl, type, plugin, label ? label : "")) == NULL)
|
||||
return -errno;
|
||||
|
||||
node = calloc(1, sizeof(*node));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue