From 426ebbae5ff578923a83a4395ff499f0348f7dcc Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 17:43:25 +0100 Subject: video/filter: mp_msg conversions --- video/filter/vf_stereo3d.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'video/filter/vf_stereo3d.c') diff --git a/video/filter/vf_stereo3d.c b/video/filter/vf_stereo3d.c index c896b4a73b..e809c54818 100644 --- a/video/filter/vf_stereo3d.c +++ b/video/filter/vf_stereo3d.c @@ -156,7 +156,7 @@ static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) { if ((width & 1) || (height & 1)) { - mp_msg(MSGT_VFILTER, MSGL_WARN, "[stereo3d] invalid height or width\n"); + MP_WARN(vf, "[stereo3d] invalid height or width\n"); return 0; } //default input values @@ -197,8 +197,7 @@ static int config(struct vf_instance *vf, int width, int height, int d_width, vf->priv->in.row_left = vf->priv->height; break; default: - mp_msg(MSGT_VFILTER, MSGL_WARN, - "[stereo3d] stereo format of input is not supported\n"); + MP_WARN(vf, "[stereo3d] stereo format of input is not supported\n"); return 0; break; } @@ -272,8 +271,7 @@ static int config(struct vf_instance *vf, int width, int height, int d_width, //use default settings break; default: - mp_msg(MSGT_VFILTER, MSGL_WARN, - "[stereo3d] stereo format of output is not supported\n"); + MP_WARN(vf, "[stereo3d] stereo format of output is not supported\n"); return 0; break; } @@ -377,8 +375,7 @@ static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi) break; } default: - mp_msg(MSGT_VFILTER, MSGL_WARN, - "[stereo3d] stereo format of output is not supported\n"); + MP_WARN(vf, "[stereo3d] stereo format of output is not supported\n"); return NULL; break; } -- cgit v1.2.3