validate: ssim: Minor debug message enhancements

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5666>
This commit is contained in:
Thibault Saunier 2023-07-31 08:31:22 -04:00 committed by GStreamer Marge Bot
parent ad68ce7f64
commit d81fe1352c

View file

@ -712,7 +712,7 @@ gst_validate_ssim_compare_image_file (GstValidateSsim * self,
if (!real_ref_file) { if (!real_ref_file) {
GST_VALIDATE_REPORT (self, GENERAL_INPUT_ERROR, GST_VALIDATE_REPORT (self, GENERAL_INPUT_ERROR,
"Could find ref file for %s", ref_file); "Could not find ref file: %s for file: %s", ref_file, file);
goto fail; goto fail;
} }
@ -848,7 +848,7 @@ _check_directory (GstValidateSsim * self, const gchar * ref_dir,
gchar *ref_file = NULL; gchar *ref_file = NULL;
if (!g_file_test (compared_file, G_FILE_TEST_IS_REGULAR)) { if (!g_file_test (compared_file, G_FILE_TEST_IS_REGULAR)) {
GST_INFO_OBJECT (self, "Could not find file %s", compared_file); GST_ERROR_OBJECT (self, "Could not find file %s", compared_file);
nnotfound++; nnotfound++;
res = FALSE; res = FALSE;
} else { } else {