mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
validate: print REPORTER->name when passed as source in validate_printf
This commit is contained in:
parent
3e978a46b4
commit
245eb9d0f9
1 changed files with 4 additions and 0 deletions
|
@ -747,6 +747,10 @@ gst_validate_printf_valist (gpointer source, const gchar * format, va_list args)
|
||||||
|
|
||||||
if (!has_parameters)
|
if (!has_parameters)
|
||||||
g_string_append_printf (string, "\n\n No Parameters");
|
g_string_append_printf (string, "\n\n No Parameters");
|
||||||
|
} else if (GST_IS_VALIDATE_REPORTER (source) &&
|
||||||
|
gst_validate_reporter_get_name (source)) {
|
||||||
|
g_string_printf (string, "\n%s --> ",
|
||||||
|
gst_validate_reporter_get_name (source));
|
||||||
} else if (GST_IS_OBJECT (source)) {
|
} else if (GST_IS_OBJECT (source)) {
|
||||||
g_string_printf (string, "\n%s --> ", GST_OBJECT_NAME (source));
|
g_string_printf (string, "\n%s --> ", GST_OBJECT_NAME (source));
|
||||||
} else if (G_IS_OBJECT (source)) {
|
} else if (G_IS_OBJECT (source)) {
|
||||||
|
|
Loading…
Reference in a new issue