Unified · Split
| @@ -5919,9 +5919,7 @@ cellauto=p='@@@@ @@ @@@@':s=100x400:full=0:rule=18 · 5918 unmodified lines | ||
| 5919 | 5919 | Generate a Mandelbrot set fractal, and progressively zoom towards the |
| 5920 | 5920 | point specified with @var{start_x} and @var{start_y}. |
| 5921 | 5921 | |
| 5922 | −This source accepts a list of options in the form of | |
| 5923 | −@var{key}=@var{value} pairs separated by ":". A description of the | |
| 5924 | −accepted options follows. | |
| 5922 | +This source accepts the following options: | |
| 5925 | 5923 | |
| 5926 | 5924 | @table @option |
| 5927 | 5925 | |
| @@ -684,6 +684,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 683 unmodified lines | ||
| 684 | 684 | !strcmp(filter->filter->name, "lut" ) || |
| 685 | 685 | !strcmp(filter->filter->name, "lutyuv" ) || |
| 686 | 686 | !strcmp(filter->filter->name, "lutrgb" ) || |
| 687 | + !strcmp(filter->filter->name, "mandelbrot" ) || | |
| 687 | 688 | !strcmp(filter->filter->name, "negate" ) || |
| 688 | 689 | !strcmp(filter->filter->name, "overlay" ) || |
| 689 | 690 | !strcmp(filter->filter->name, "pad" ) || |
| @@ -122,13 +122,7 @@ AVFILTER_DEFINE_CLASS(mandelbrot); · 121 unmodified lines | ||
| 122 | 122 | static av_cold int init(AVFilterContext *ctx, const char *args) |
| 123 | 123 | { |
| 124 | 124 | MBContext *mb = ctx->priv; |
| 125 | − int err; | |
| 126 | 125 | |
| 127 | − mb->class = &mandelbrot_class; | |
| 128 | − av_opt_set_defaults(mb); | |
| 129 | − | |
| 130 | − if ((err = (av_set_options_string(mb, args, "=", ":"))) < 0) | |
| 131 | − return err; | |
| 132 | 126 | mb->bailout *= mb->bailout; |
| 133 | 127 | |
| 134 | 128 | mb->start_scale /=mb->h; |