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");