Commit 4d874fc2 authored by Michael Niedermayer's avatar Michael Niedermayer

vf_mp: rewrite vf_mp filter warning message

Warning text by: Clément Bœsch <ubitux@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8cda755c
...@@ -711,11 +711,6 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) ...@@ -711,11 +711,6 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
char name[256]; char name[256];
int i; int i;
av_log(ctx, AV_LOG_WARNING,
"This is a unholy filter, it will be purified by the ffmpeg exorcist team\n"
"which will change its syntax from dark -vf mp to light -vf.\n"
"Thou shalst not make spells or scripts that depend on it\n");
m->avfctx= ctx; m->avfctx= ctx;
if(!args || 1!=sscanf(args, "%255[^:=]", name)){ if(!args || 1!=sscanf(args, "%255[^:=]", name)){
...@@ -734,6 +729,10 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) ...@@ -734,6 +729,10 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
return AVERROR(EINVAL); return AVERROR(EINVAL);
} }
av_log(ctx, AV_LOG_WARNING,
"'%s' is a wrapped MPlayer filter (libmpcodecs). This filter may be removed\n"
"once it has been ported to a native libavfilter.\n", name);
memset(&m->vf,0,sizeof(m->vf)); memset(&m->vf,0,sizeof(m->vf));
m->vf.info= filters[i]; m->vf.info= filters[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment