diff options
author | wm4 <wm4@nowhere> | 2013-12-21 17:43:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:10 +0100 |
commit | 426ebbae5ff578923a83a4395ff499f0348f7dcc (patch) | |
tree | e0155cf4a0813ca15a0cd6364bcae25c81cf164b /video/filter/vf_stereo3d.c | |
parent | 877303aaa9111fc56a8e5edbeb439699acfe44c0 (diff) | |
download | mpv-426ebbae5ff578923a83a4395ff499f0348f7dcc.tar.bz2 mpv-426ebbae5ff578923a83a4395ff499f0348f7dcc.tar.xz |
video/filter: mp_msg conversions
Diffstat (limited to 'video/filter/vf_stereo3d.c')
-rw-r--r-- | video/filter/vf_stereo3d.c | 11 |
1 files changed, 4 insertions, 7 deletions
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; } |