validate:media-check: Fix wrong exit code

There are code paths where the runner doesn't contain any issue but an error has already been reported
This commit is contained in:
Thibault Saunier 2020-02-13 10:41:07 -03:00
parent 080fdf8e2f
commit 688265f1a0

View file

@ -162,7 +162,7 @@ main (int argc, gchar ** argv)
out:
if (runner)
ret = gst_validate_runner_exit (runner, TRUE);
ret += gst_validate_runner_exit (runner, TRUE);
g_free (output_file);
g_free (expected_file);