diff options
author | wm4 <wm4@nowhere> | 2013-12-21 17:57:10 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:10 +0100 |
commit | 38342436cd59afd345595d83b329bc7c6ac3616f (patch) | |
tree | 0fb021d8fb4b964b9d13a3bdc5e874da36bbc1d8 /video/sws_utils.h | |
parent | 212ce468d83732c5e6e35e307e60f3919c48de34 (diff) | |
download | mpv-38342436cd59afd345595d83b329bc7c6ac3616f.tar.bz2 mpv-38342436cd59afd345595d83b329bc7c6ac3616f.tar.xz |
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.
Diffstat (limited to 'video/sws_utils.h')
-rw-r--r-- | video/sws_utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |