1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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.
This commit is contained in:
Stefano Sabatini 2011-03-28 00:03:19 +02:00
parent 681ba7229e
commit c50998675d

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