diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-03-28 02:03:19 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-03-29 00:50:09 +0400 |
commit | c50998675d0c1a932dcf2b79a150a4dfe430050c (patch) | |
tree | 2d411667e6a943015dab329ea359fd914f942235 /libavfilter/vf_mp.c | |
parent | 681ba7229e8cb0106e7d641be4f6fb0cf6a9fba8 (diff) |
mp: extend syntax, make it accept mp=filter=params
Make the mp wrapper accept the syntax mp=filter=params as alternative
to mp=filter:params. The alternative syntax is sligthly more readable
and should simplify copy&paste of MPlayer filter strings to the mp
filter.
Diffstat (limited to 'libavfilter/vf_mp.c')
-rw-r--r-- | libavfilter/vf_mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_mp.c b/libavfilter/vf_mp.c index 484572cb96..374acac20f 100644 --- a/libavfilter/vf_mp.c +++ b/libavfilter/vf_mp.c @@ -739,7 +739,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) m->avfctx= ctx; - if(!args || 1!=sscanf(args, "%255[^:]", name)){ + if(!args || 1!=sscanf(args, "%255[^:=]", name)){ av_log(ctx, AV_LOG_ERROR, "Invalid parameter.\n"); return AVERROR(EINVAL); } |