summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_palette.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-31 00:15:47 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-31 00:15:47 +0000
commitb4c74fb28e7012d2c682896418e5ee573e3614f7 (patch)
tree0ea489773dbba06af0a37771c11f917ec78c7edc /libmpcodecs/vf_palette.c
parente5782cf37b2f6e340d17a8a9eec6d6461f1fee42 (diff)
downloadmpv-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_palette.c')
-rw-r--r--libmpcodecs/vf_palette.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/vf_palette.c b/libmpcodecs/vf_palette.c
index e41b9e07d0..05b614b1fc 100644
--- a/libmpcodecs/vf_palette.c
+++ b/libmpcodecs/vf_palette.c
@@ -5,6 +5,7 @@
#include "config.h"
#include "mp_msg.h"
+#include "help_mp.h"
#include "img_format.h"
#include "mp_image.h"
@@ -187,7 +188,7 @@ static int open(vf_instance_t *vf, char* args){
if (!strcasecmp(args,"bgr24")) vf->priv->fmt=IMGFMT_BGR24; else
if (!strcasecmp(args,"bgr32")) vf->priv->fmt=IMGFMT_BGR32; else
{
- printf("Unknown forced format name: '%s'\n", args);
+ mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_UnknownFormatName, args);
return(0);
}
}