mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-05 11:37:49 +00:00
validate: Use Gst printing utils in our reporting system
Allowing us to use GST_PTR_FORMAT and friends!
This commit is contained in:
parent
c540601ed0
commit
dbc598b378
1 changed files with 4 additions and 1 deletions
|
@ -861,6 +861,7 @@ void
|
||||||
gst_validate_printf_valist (gpointer source, const gchar * format, va_list args)
|
gst_validate_printf_valist (gpointer source, const gchar * format, va_list args)
|
||||||
{
|
{
|
||||||
gint i;
|
gint i;
|
||||||
|
gchar *tmp;
|
||||||
GString *string = g_string_new (NULL);
|
GString *string = g_string_new (NULL);
|
||||||
|
|
||||||
if (source) {
|
if (source) {
|
||||||
|
@ -941,7 +942,9 @@ gst_validate_printf_valist (gpointer source, const gchar * format, va_list args)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
g_string_append_vprintf (string, format, args);
|
tmp = gst_info_strdup_vprintf (format, args);
|
||||||
|
g_string_append (string, tmp);
|
||||||
|
g_free (tmp);
|
||||||
|
|
||||||
if (!newline_regex)
|
if (!newline_regex)
|
||||||
newline_regex =
|
newline_regex =
|
||||||
|
|
Loading…
Reference in a new issue