mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
gstreamer: prefix debug dot node names to prevent splitting
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7979>
This commit is contained in:
parent
4586260191
commit
de41680f78
1 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,8 @@ static const gchar spaces[] = {
|
||||||
static gchar *
|
static gchar *
|
||||||
debug_dump_make_object_name (GstObject * obj)
|
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 "_", '_');
|
G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "_", '_');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue