_
("Pad buffers push frequency is lower than the minimum required by the config"),
NULL);
- REGISTER_VALIDATE_ISSUE (WARNING, G_LOG_WARNING, _("We got a g_log warning"),
- NULL);
- REGISTER_VALIDATE_ISSUE (CRITICAL, G_LOG_CRITICAL,
- "We got a g_log critical issue", NULL);
- REGISTER_VALIDATE_ISSUE (ISSUE, G_LOG_ISSUE, "We got a g_log issue", NULL);
+ REGISTER_VALIDATE_ISSUE_FULL (WARNING, G_LOG_WARNING,
+ _("We got a g_log warning"), NULL, GST_VALIDATE_ISSUE_FLAGS_FULL_DETAILS);
+ REGISTER_VALIDATE_ISSUE_FULL (CRITICAL, G_LOG_CRITICAL,
+ "We got a g_log critical issue", NULL,
+ GST_VALIDATE_ISSUE_FLAGS_FULL_DETAILS);
+ REGISTER_VALIDATE_ISSUE_FULL (ISSUE, G_LOG_ISSUE, "We got a g_log issue",
+ NULL, GST_VALIDATE_ISSUE_FLAGS_FULL_DETAILS);
REGISTER_VALIDATE_ISSUE (CRITICAL, PULL_RANGE_FROM_WRONG_THREAD,
"gst_pad_pull_range called from wrong thread",
if (report->level == GST_VALIDATE_REPORT_LEVEL_CRITICAL) {
criticals = g_list_append (criticals, report);
gst_validate_report_print_details (report);
- }
+ } else if (report->issue->flags & GST_VALIDATE_ISSUE_FLAGS_FULL_DETAILS)
+ gst_validate_report_print_details (report);
for (tmp = g_list_next (reports); tmp; tmp = tmp->next) {
report = (GstValidateReport *) tmp->data;
gst_validate_report_print_detected_on (report);
- if (report->level == GST_VALIDATE_REPORT_LEVEL_CRITICAL) {
+ if ((report->level == GST_VALIDATE_REPORT_LEVEL_CRITICAL) ||
+ (report->issue->flags & GST_VALIDATE_ISSUE_FLAGS_FULL_DETAILS)) {
criticals = g_list_append (criticals, report);
gst_validate_report_print_details (report);
}