From 5beedf1967f93ad4edfb6d1dd2edf9f4660a5afe Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 17:59:38 +0100 Subject: image_writer: mp_msg conversions Adds an awkward mp_log argument for error messages. --- video/image_writer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'video/image_writer.h') diff --git a/video/image_writer.h b/video/image_writer.h index 4f5942edb5..2fce63065e 100644 --- a/video/image_writer.h +++ b/video/image_writer.h @@ -16,7 +16,7 @@ */ struct mp_image; -struct mp_csp_details; +struct mp_log; struct image_writer_opts { char *format; @@ -48,7 +48,7 @@ const char *image_writer_file_ext(const struct image_writer_opts *opts); * can be used to store snapshots of anamorphic video. */ int write_image(struct mp_image *image, const struct image_writer_opts *opts, - const char *filename); + const char *filename, struct mp_log *log); // Debugging helper. -void dump_png(struct mp_image *image, const char *filename); +void dump_png(struct mp_image *image, const char *filename, struct mp_log *log); -- cgit v1.2.3