summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_crop.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_crop.c')
-rw-r--r--video/filter/vf_crop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/filter/vf_crop.c b/video/filter/vf_crop.c
index cd286910ab..186c710d9f 100644
--- a/video/filter/vf_crop.c
+++ b/video/filter/vf_crop.c
@@ -59,7 +59,7 @@ static int config(struct vf_instance *vf,
// check:
if(vf->priv->crop_w+vf->priv->crop_x>width ||
vf->priv->crop_h+vf->priv->crop_y>height){
- mp_msg(MSGT_VFILTER, MSGL_WARN, "[CROP] Bad position/width/height - cropped area outside of the original!\n");
+ MP_WARN(vf, "[CROP] Bad position/width/height - cropped area outside of the original!\n");
return 0;
}
vf_rescale_dsize(&d_width, &d_height, width, height,
@@ -86,7 +86,7 @@ static int vf_open(vf_instance_t *vf){
vf->config=config;
vf->filter=filter;
vf->query_format=query_format;
- mp_msg(MSGT_VFILTER, MSGL_INFO, "Crop: %d x %d, %d ; %d\n",
+ MP_INFO(vf, "Crop: %d x %d, %d ; %d\n",
vf->priv->crop_w,
vf->priv->crop_h,
vf->priv->crop_x,