aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-03-28 00:03:19 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-03-28 22:50:09 +0200
commitc50998675d0c1a932dcf2b79a150a4dfe430050c (patch)
tree2d411667e6a943015dab329ea359fd914f942235
parent681ba7229e8cb0106e7d641be4f6fb0cf6a9fba8 (diff)
downloadffmpeg-c50998675d0c1a932dcf2b79a150a4dfe430050c.tar.gz
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.
-rw-r--r--libavfilter/vf_mp.c2
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);
}