diff options
Diffstat (limited to 'libmpcodecs/vf_format.c')
-rw-r--r-- | libmpcodecs/vf_format.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/vf_format.c b/libmpcodecs/vf_format.c index f9a1c0a096..fef17eb908 100644 --- a/libmpcodecs/vf_format.c +++ b/libmpcodecs/vf_format.c @@ -5,6 +5,7 @@ #include "config.h" #include "mp_msg.h" +#include "help_mp.h" #include "img_format.h" #include "mp_image.h" @@ -65,7 +66,7 @@ static int open(vf_instance_t *vf, char* args){ if(!strcasecmp(args,"argb")) vf->priv->fmt=IMGFMT_ARGB; else if(!strcasecmp(args,"bgra")) vf->priv->fmt=IMGFMT_BGRA; else if(!strcasecmp(args,"abgr")) vf->priv->fmt=IMGFMT_ABGR; else - { printf("Unknown format name: '%s'\n",args);return 0;} + { mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_UnknownFormatName, args);return 0;} } |