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

lavfi/life: switch to an AVOptions-based system.

This commit is contained in:
Clément Bœsch 2013-04-10 23:24:05 +02:00
parent 169880e31d
commit bd85fee914
3 changed files with 2 additions and 9 deletions

View File

@ -6095,9 +6095,7 @@ which specifies the number of neighbor alive cells which will make a
cell stay alive or born. The @option{rule} option allows to specify
the rule to adopt.
This source accepts a list of options in the form of
@var{key}=@var{value} pairs separated by ":". A description of the
accepted options follows.
This source accepts the following options:
@table @option
@item filename, f

View File

@ -680,6 +680,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!strcmp(filter->filter->name, "gradfun" ) ||
!strcmp(filter->filter->name, "hqdn3d" ) ||
!strcmp(filter->filter->name, "ocv" ) ||
!strcmp(filter->filter->name, "life" ) ||
!strcmp(filter->filter->name, "lut" ) ||
!strcmp(filter->filter->name, "lutyuv" ) ||
!strcmp(filter->filter->name, "lutrgb" ) ||

View File

@ -225,12 +225,6 @@ static int init(AVFilterContext *ctx, const char *args)
LifeContext *life = ctx->priv;
int ret;
life->class = &life_class;
av_opt_set_defaults(life);
if ((ret = av_set_options_string(life, args, "=", ":")) < 0)
return ret;
if (!life->w && !life->filename)
av_opt_set(life, "size", "320x240", 0);