From 38342436cd59afd345595d83b329bc7c6ac3616f Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 17:57:10 +0100 Subject: sws_utils: mp_msg conversions This requires the caller to provide a mp_log in order to see error messages. Unfortunately we don't do this in most places, but I guess we have to live with it. --- video/sws_utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/sws_utils.h') diff --git a/video/sws_utils.h b/video/sws_utils.h index d6ea4b15b3..d20e197197 100644 --- a/video/sws_utils.h +++ b/video/sws_utils.h @@ -25,6 +25,8 @@ void mp_image_sw_blur_scale(struct mp_image *dst, struct mp_image *src, float gblur); struct mp_sws_context { + // Can be set for verbose error printing. + struct mp_log *log; // User configuration. These can be changed freely, at any time. // mp_sws_scale() will handle the changes transparently. int flags; -- cgit v1.2.3