readtest: special handling for HEIF format

This commit is contained in:
Daniel Novomeský 2025-03-12 16:17:59 +01:00
parent 6821c29819
commit 64a43fb04f

View File

@ -332,7 +332,12 @@ int main(int argc, char **argv)
OptionTest optionTest;
if (!optionTest.store(&inputReader)) {
QTextStream(stdout) << "FAIL : " << fi.fileName() << ": error while reading options\n";
++failed;
if (format == "heif") {
// libheif + ffmpeg decoder is unable to load all HEIF files.
++skipped;
} else {
++failed;
}
continue;
}