From 90410cc17e18f5dd7b237b57bb23b466d32536ed Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 24 Jul 2023 23:45:18 +0200 Subject: [PATCH] image_writer: log pixfmt conversion --- video/image_writer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video/image_writer.c b/video/image_writer.c index 81a696e5d3..dff7ac58de 100644 --- a/video/image_writer.c +++ b/video/image_writer.c @@ -649,6 +649,8 @@ static struct mp_image *convert_image(struct mp_image *image, int destfmt, if (mp_image_params_equal(&p, &image->params)) return mp_image_new_ref(image); + mp_dbg(log, "Will convert image to %s\n", mp_imgfmt_to_name(p.imgfmt)); + struct mp_image *dst = mp_image_alloc(p.imgfmt, p.w, p.h); if (!dst) { mp_err(log, "Out of memory.\n");