mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +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)
|
||||
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)) {
|
||||
g_string_printf (string, "\n%s --> ", GST_OBJECT_NAME (source));
|
||||
} else if (G_IS_OBJECT (source)) {
|
||||
|
|
Loading…
Reference in a new issue