From 74e576c31a1a2b021c91d5718e835edd109ac78e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 10 Jul 2025 18:10:51 +0200 Subject: [PATCH] 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. --- spa/plugins/filter-graph/filter-graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/filter-graph/filter-graph.c b/spa/plugins/filter-graph/filter-graph.c index 4bcf889b7..c9d276c5f 100644 --- a/spa/plugins/filter-graph/filter-graph.c +++ b/spa/plugins/filter-graph/filter-graph.c @@ -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));