summaryrefslogtreecommitdiffstats
path: root/video/filter
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 17:57:10 +0100
committerwm4 <wm4@nowhere>2013-12-21 20:50:10 +0100
commit38342436cd59afd345595d83b329bc7c6ac3616f (patch)
tree0fb021d8fb4b964b9d13a3bdc5e874da36bbc1d8 /video/filter
parent212ce468d83732c5e6e35e307e60f3919c48de34 (diff)
downloadmpv-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/filter')
-rw-r--r--video/filter/vf_scale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf_scale.c b/video/filter/vf_scale.c
index 2096292e68..bcb4cae2f2 100644
--- a/video/filter/vf_scale.c
+++ b/video/filter/vf_scale.c
@@ -393,6 +393,7 @@ static int vf_open(vf_instance_t *vf)
vf->control = control;
vf->uninit = uninit;
vf->priv->sws = mp_sws_alloc(vf);
+ vf->priv->sws->log = vf->log;
vf->priv->sws->params[0] = vf->priv->param[0];
vf->priv->sws->params[1] = vf->priv->param[1];