summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_softpulldown.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 17:43:25 +0100
committerwm4 <wm4@nowhere>2013-12-21 20:50:10 +0100
commit426ebbae5ff578923a83a4395ff499f0348f7dcc (patch)
treee0155cf4a0813ca15a0cd6364bcae25c81cf164b /video/filter/vf_softpulldown.c
parent877303aaa9111fc56a8e5edbeb439699acfe44c0 (diff)
downloadmpv-426ebbae5ff578923a83a4395ff499f0348f7dcc.tar.bz2
mpv-426ebbae5ff578923a83a4395ff499f0348f7dcc.tar.xz
video/filter: mp_msg conversions
Diffstat (limited to 'video/filter/vf_softpulldown.c')
-rw-r--r--video/filter/vf_softpulldown.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/video/filter/vf_softpulldown.c b/video/filter/vf_softpulldown.c
index f2dbba29bf..f1b8bdd0be 100644
--- a/video/filter/vf_softpulldown.c
+++ b/video/filter/vf_softpulldown.c
@@ -71,8 +71,7 @@ static int filter(struct vf_instance *vf, struct mp_image *mpi)
!(flags & MP_IMGFIELD_TOP_FIRST)) ||
(state == 1 &&
flags & MP_IMGFIELD_TOP_FIRST)) {
- mp_msg(MSGT_VFILTER, MSGL_WARN,
- "softpulldown: Unexpected field flags: state=%d top_field_first=%d repeat_first_field=%d\n",
+ MP_WARN(vf, "softpulldown: Unexpected field flags: state=%d top_field_first=%d repeat_first_field=%d\n",
state,
(flags & MP_IMGFIELD_TOP_FIRST) != 0,
(flags & MP_IMGFIELD_REPEAT_FIRST) != 0);
@@ -128,7 +127,7 @@ static int control(vf_instance_t *vf, int request, void *data)
static void uninit(struct vf_instance *vf)
{
- mp_msg(MSGT_VFILTER, MSGL_INFO, "softpulldown: %lld frames in, %lld frames out\n", vf->priv->in, vf->priv->out);
+ MP_INFO(vf, "softpulldown: %lld frames in, %lld frames out\n", vf->priv->in, vf->priv->out);
free(vf->priv);
}