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.
... | ... |
@@ -739,7 +739,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) |
739 | 739 |
|
740 | 740 |
m->avfctx= ctx; |
741 | 741 |
|
742 |
- if(!args || 1!=sscanf(args, "%255[^:]", name)){ |
|
742 |
+ if(!args || 1!=sscanf(args, "%255[^:=]", name)){ |
|
743 | 743 |
av_log(ctx, AV_LOG_ERROR, "Invalid parameter.\n"); |
744 | 744 |
return AVERROR(EINVAL); |
745 | 745 |
} |