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:
Wim Taymans 2025-07-10 18:10:51 +02:00
parent a188f1d29f
commit 74e576c31a

View file

@ -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));