Browse Source

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.
tags/n0.8
Stefano Sabatini 14 years ago
parent
commit
c50998675d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_mp.c

+ 1
- 1
libavfilter/vf_mp.c View File

@@ -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);
}


Loading…
Cancel
Save