runner: Report criticals when the reporter is in smart mode
authorThibault Saunier <tsaunier@gnome.org>
Fri, 15 Jan 2016 20:13:59 +0000 (20:13 +0000)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 15 Jan 2016 20:13:59 +0000 (20:13 +0000)
validate/gst/validate/gst-validate-runner.c

index 027a0cd..e0af772 100644 (file)
@@ -366,9 +366,10 @@ gst_validate_runner_add_report (GstValidateRunner * runner,
         return;
       case GST_VALIDATE_SHOW_SMART:
         if (!gst_validate_report_check_abort (report) &&
-            report->level != GST_VALIDATE_REPORT_LEVEL_CRITICAL)
+            report->level != GST_VALIDATE_REPORT_LEVEL_CRITICAL) {
           synthesize_reports (runner, report);
-        return;
+          return;
+        }
       case GST_VALIDATE_SHOW_SYNTHETIC:
         synthesize_reports (runner, report);
         return;