Skip to content
Snippets Groups Projects
Commit 06cca8a5 authored by Thibault Saunier's avatar Thibault Saunier :cactus:
Browse files

validate:ssim: Make position reporting parseable by the launcher

parent 3a1facdb
No related branches found
No related tags found
Loading
......@@ -774,9 +774,11 @@ _check_directory (GstValidateSsim * self, const gchar * ref_dir,
}
gst_validate_printf (NULL,
"<position: %s avg: %f min: %f (Passed: %d failed: %d, %d not found)>\r",
g_file_info_get_display_name (info), *mean, *lowest,
nfiles, nfailures, nnotfound);
"<position: %s duration: %" GST_TIME_FORMAT
" avg: %f min: %f (Passed: %d failed: %d, %d not found)/>\r",
g_file_info_get_display_name (info),
GST_TIME_ARGS (GST_CLOCK_TIME_NONE),
*mean, *lowest, nfiles, nfailures, nnotfound);
g_free (compared_file);
g_free (ref_file);
......
......@@ -247,10 +247,10 @@ runner_stopping (GstValidateRunner * runner, ValidateSsimOverride * self)
total_avg += mssim;
gst_validate_printf (NULL,
"<position: %" GST_TIME_FORMAT
" %d / %d avg: %f min: %f (Passed: %d failed: %d)>\r",
GST_TIME_ARGS (frame->position), i + 1, nfiles, mssim, lowest, npassed,
nfailures);
"<position: %" GST_TIME_FORMAT " duration: %" GST_TIME_FORMAT
" %d / %d avg: %f min: %f (Passed: %d failed: %d)/>\r",
GST_TIME_ARGS (frame->position), GST_TIME_ARGS (GST_CLOCK_TIME_NONE),
i + 1, nfiles, mssim, lowest, npassed, nfailures);
g_free (bname);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment