diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-31 00:15:47 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-31 00:15:47 +0000 |
commit | b4c74fb28e7012d2c682896418e5ee573e3614f7 (patch) | |
tree | 0ea489773dbba06af0a37771c11f917ec78c7edc /libmpcodecs/vf_crop.c | |
parent | e5782cf37b2f6e340d17a8a9eec6d6461f1fee42 (diff) | |
download | mpv-b4c74fb28e7012d2c682896418e5ee573e3614f7.tar.bz2 mpv-b4c74fb28e7012d2c682896418e5ee573e3614f7.tar.xz |
Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu with LOTS of modifications by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_crop.c')
-rw-r--r-- | libmpcodecs/vf_crop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/vf_crop.c b/libmpcodecs/vf_crop.c index d5d373513b..200a3e783c 100644 --- a/libmpcodecs/vf_crop.c +++ b/libmpcodecs/vf_crop.c @@ -4,6 +4,7 @@ #include "config.h" #include "mp_msg.h" +#include "help_mp.h" #include "img_format.h" #include "mp_image.h" @@ -57,7 +58,7 @@ static int config(struct vf_instance_s* vf, // check: if(vf->priv->crop_w+vf->priv->crop_x>width || vf->priv->crop_h+vf->priv->crop_y>height){ - printf("crop: bad position/width/height - cropped area is out of the original!\n"); + mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_CropBadPositionWidthHeight); return 0; } if(!opt_screen_size_x && !opt_screen_size_y){ |