From de41680f782252b12b664c1664e7a99ea62f9f29 Mon Sep 17 00:00:00 2001 From: wbartel Date: Wed, 27 Nov 2024 11:19:02 +0100 Subject: [PATCH] gstreamer: prefix debug dot node names to prevent splitting Part-of: --- subprojects/gstreamer/gst/gstdebugutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gstreamer/gst/gstdebugutils.c b/subprojects/gstreamer/gst/gstdebugutils.c index d91faef7dd..76defa6497 100644 --- a/subprojects/gstreamer/gst/gstdebugutils.c +++ b/subprojects/gstreamer/gst/gstdebugutils.c @@ -83,7 +83,8 @@ static const gchar spaces[] = { static gchar * debug_dump_make_object_name (GstObject * obj) { - return g_strcanon (g_strdup_printf ("%s_%p", GST_OBJECT_NAME (obj), obj), + /* must start with a letter to prevent dot from splitting names starting with [0-9] */ + return g_strcanon (g_strdup_printf ("node_%s_%p", GST_OBJECT_NAME (obj), obj), G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "_", '_'); }