From 47c29127b67b760b635d8a16d90543ac03b49082 Mon Sep 17 00:00:00 2001 From: Ruben Gonzalez Date: Mon, 6 Jan 2025 20:29:00 +0100 Subject: [PATCH] tracers: Fix issue in the BC layer added in refactor to simplify params handling Issue added in refactor done in commit 5e18499372, which includes a logic to not break the backward compatibility. Issue found with Rust pcap-writer tracer, fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/644 Part-of: --- subprojects/gstreamer/gst/gsttracerutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gstreamer/gst/gsttracerutils.c b/subprojects/gstreamer/gst/gsttracerutils.c index a443a92fd1..42b911948a 100644 --- a/subprojects/gstreamer/gst/gsttracerutils.c +++ b/subprojects/gstreamer/gst/gsttracerutils.c @@ -204,7 +204,7 @@ gst_tracer_utils_create_tracer (GstTracerFactory * factory, const gchar * name, names[0] = (const gchar *) "params"; values = g_new0 (GValue, 1); g_value_init (&values[0], G_TYPE_STRING); - g_value_set_string (&values[0], name); + g_value_set_string (&values[0], params); } GST_INFO_OBJECT (factory, "creating tracer: type-id=%u", (guint) factory->type);