mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
validate-reporter: More comprehensive debug message
Some issues don't have any arguments, so put the full details in.
This commit is contained in:
parent
529576e69b
commit
de930073fc
1 changed files with 3 additions and 1 deletions
|
@ -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__,
|
||||
|
|
Loading…
Reference in a new issue