1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

tests/swscale: use hex format for flags values

This commit is contained in:
Niklas Haas
2025-03-31 12:18:11 +02:00
parent 0e2742a693
commit d467ceaa9b

View File

@ -201,7 +201,7 @@ static int run_test(enum AVPixelFormat src_fmt, enum AVPixelFormat dst_fmt,
}
get_mse(mse, out, ref, comps);
printf("%s %dx%d -> %s %3dx%3d, flags=%u dither=%u, "
printf("%s %dx%d -> %s %3dx%3d, flags=0x%x dither=%u, "
"MSE={%5d %5d %5d %5d}\n",
av_get_pix_fmt_name(src->format), src->width, src->height,
av_get_pix_fmt_name(dst->format), dst->width, dst->height,
@ -314,7 +314,7 @@ static int run_file_tests(const AVFrame *ref, FILE *fp, struct options opts)
struct mode mode;
ret = sscanf(buf,
" %20s %dx%d -> %20s %dx%d, flags=%u dither=%u, "
" %20s %dx%d -> %20s %dx%d, flags=0x%x dither=%u, "
"MSE={%d %d %d %d}\n",
src_fmt_str, &sw, &sh, dst_fmt_str, &dw, &dh,
&mode.flags, &mode.dither,