From de930073fcd2ec07ea76d4e55257cd6b365cc288 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 21 Aug 2013 18:00:16 +0200 Subject: [PATCH] validate-reporter: More comprehensive debug message Some issues don't have any arguments, so put the full details in. --- validate/gst/validate/gst-validate-reporter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/validate/gst/validate/gst-validate-reporter.c b/validate/gst/validate/gst-validate-reporter.c index e53157e567..5bb7aaf305 100644 --- a/validate/gst/validate/gst-validate-reporter.c +++ b/validate/gst/validate/gst-validate-reporter.c @@ -117,7 +117,9 @@ gst_validate_report_valist (GstValidateReporter * reporter, g_hash_table_insert (priv->reports, (gpointer) issue_id, report); } - combo = g_strdup_printf ("<%s>:%s", priv->name, format); + combo = + g_strdup_printf ("<%s> %" GST_VALIDATE_ISSUE_FORMAT " : %s", priv->name, + GST_VALIDATE_ISSUE_ARGS (issue), format); G_VA_COPY (vacopy, var_args); if (report->level == GST_VALIDATE_REPORT_LEVEL_CRITICAL) gst_debug_log_valist (GST_CAT_DEFAULT, GST_LEVEL_ERROR, __FILE__,