gint rejected_types_index = 0;
if (!gst_structure_has_field (structure, field)) {
+ gchar *str = gst_structure_to_string (structure);
+
GST_VALIDATE_REPORT (monitor, CAPS_IS_MISSING_FIELD,
"Field '%s' is missing from structure: %" GST_PTR_FORMAT, field,
- structure);
+ str);
+ g_free(str);
return;
}
return;
}
- g_hash_table_insert (priv->reports, (gpointer) issue_id, report);
+ g_hash_table_insert (priv->reports, (gpointer) issue_id,
+ gst_validate_report_ref (report));
}
combo =
combo = g_strdup_printf ("Received error report %" GST_VALIDATE_ISSUE_FORMAT
" : %s", GST_VALIDATE_ISSUE_ARGS (issue), format);
- G_VA_COPY (vacopy, var_args);
- gst_debug_log_valist (GST_CAT_DEFAULT, GST_LEVEL_DEBUG, __FILE__,
- GST_FUNCTION, __LINE__, NULL, combo, vacopy);
gst_validate_report_check_abort (report);
if (priv->runner) {