mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-28 00:46:37 +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,
|
gst_validate_printf (NULL,
|
||||||
"<position: %s avg: %f min: %f (Passed: %d failed: %d, %d not found)>\r",
|
"<position: %s duration: %" GST_TIME_FORMAT
|
||||||
g_file_info_get_display_name (info), *mean, *lowest,
|
" avg: %f min: %f (Passed: %d failed: %d, %d not found)/>\r",
|
||||||
nfiles, nfailures, nnotfound);
|
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 (compared_file);
|
||||||
g_free (ref_file);
|
g_free (ref_file);
|
||||||
|
|
|
@ -247,10 +247,10 @@ runner_stopping (GstValidateRunner * runner, ValidateSsimOverride * self)
|
||||||
|
|
||||||
total_avg += mssim;
|
total_avg += mssim;
|
||||||
gst_validate_printf (NULL,
|
gst_validate_printf (NULL,
|
||||||
"<position: %" GST_TIME_FORMAT
|
"<position: %" GST_TIME_FORMAT " duration: %" GST_TIME_FORMAT
|
||||||
" %d / %d avg: %f min: %f (Passed: %d failed: %d)>\r",
|
" %d / %d avg: %f min: %f (Passed: %d failed: %d)/>\r",
|
||||||
GST_TIME_ARGS (frame->position), i + 1, nfiles, mssim, lowest, npassed,
|
GST_TIME_ARGS (frame->position), GST_TIME_ARGS (GST_CLOCK_TIME_NONE),
|
||||||
nfailures);
|
i + 1, nfiles, mssim, lowest, npassed, nfailures);
|
||||||
|
|
||||||
g_free (bname);
|
g_free (bname);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue