diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-10 23:21:21 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 00:21:47 +0200 |
commit | 169880e31d627925a3c27c703525da57af74f740 (patch) | |
tree | 633df43e71f0287d04c99cae0bc365652242f1ac /libavfilter | |
parent | 2040b428b45fa4f0167acc40a49771f92cd96769 (diff) | |
download | ffmpeg-169880e31d627925a3c27c703525da57af74f740.tar.gz |
lavfi/cellauto: switch to an AVOptions-based system.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.c | 1 | ||||
-rw-r--r-- | libavfilter/vsrc_cellauto.c | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 753567fe81..dbc517e38c 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -660,6 +660,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque !strcmp(filter->filter->name, "ass") || !strcmp(filter->filter->name, "blackframe") || !strcmp(filter->filter->name, "boxblur" ) || + !strcmp(filter->filter->name, "cellauto") || !strcmp(filter->filter->name, "colormatrix") || !strcmp(filter->filter->name, "crop" ) || !strcmp(filter->filter->name, "cropdetect") || diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index a48f04c3e1..3a4917a026 100644 --- a/libavfilter/vsrc_cellauto.c +++ b/libavfilter/vsrc_cellauto.c @@ -164,12 +164,6 @@ static int init(AVFilterContext *ctx, const char *args) CellAutoContext *cellauto = ctx->priv; int ret; - cellauto->class = &cellauto_class; - av_opt_set_defaults(cellauto); - - if ((ret = av_set_options_string(cellauto, args, "=", ":")) < 0) - return ret; - if (!cellauto->w && !cellauto->filename && !cellauto->pattern) av_opt_set(cellauto, "size", "320x518", 0); |