summaryrefslogtreecommitdiffstats
path: root/video/image_writer.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-12-03 18:28:32 +0100
committersfan5 <sfan5@live.de>2023-12-04 20:34:17 +0100
commita7221946845732667f087df6cc03361329de952c (patch)
tree1949d85cc4180cbad05eee82c504d1dc02221667 /video/image_writer.c
parent4949cab7342df2cad04c930c1e031a240d76f006 (diff)
downloadmpv-a7221946845732667f087df6cc03361329de952c.tar.bz2
mpv-a7221946845732667f087df6cc03361329de952c.tar.xz
image_writer: print screenshot format in verbose log
It is useful information, not only for debugging.
Diffstat (limited to 'video/image_writer.c')
-rw-r--r--video/image_writer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/image_writer.c b/video/image_writer.c
index 76e6e01af7..20620ffb21 100644
--- a/video/image_writer.c
+++ b/video/image_writer.c
@@ -650,7 +650,7 @@ 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));
+ mp_verbose(log, "will convert image to %s\n", mp_imgfmt_to_name(p.imgfmt));
struct mp_image *src = image;
if (mp_image_crop_valid(&src->params) &&
@@ -701,7 +701,7 @@ bool write_image(struct mp_image *image, const struct image_writer_opts *opts,
if (!opts)
opts = &defs;
- mp_dbg(log, "input: %s\n", mp_image_params_to_str(&image->params));
+ mp_verbose(log, "input: %s\n", mp_image_params_to_str(&image->params));
struct image_writer_ctx ctx = { log, opts, image->fmt };
bool (*write)(struct image_writer_ctx *, mp_image_t *, const char *) = write_lavc;