mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
validate:ssim: Make position reporting parseable by the launcher
This commit is contained in:
parent
3a1facdb45
commit
06cca8a5b3
2 changed files with 9 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue