diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-12-27 21:17:00 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-12-27 21:17:00 +0100 |
commit | 50cfe9662dcd601f34ce0f81b2738f3bcad64661 (patch) | |
tree | 8ef1196e3f484a4b3c256ffa396f9f16df4912cb /libavfilter/vf_il.c | |
parent | 5fb37598ad5c17e3829829d03845106f4c6c4084 (diff) | |
download | ffmpeg-50cfe9662dcd601f34ce0f81b2738f3bcad64661.tar.gz |
avfilter/vf_il: add support for commands
Diffstat (limited to 'libavfilter/vf_il.c')
-rw-r--r-- | libavfilter/vf_il.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c index ae0cc1938a..6cd5f89f76 100644 --- a/libavfilter/vf_il.c +++ b/libavfilter/vf_il.c @@ -46,7 +46,7 @@ typedef struct IlContext { } IlContext; #define OFFSET(x) offsetof(IlContext, x) -#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM +#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM static const AVOption il_options[] = { {"luma_mode", "select luma mode", OFFSET(luma_mode), AV_OPT_TYPE_INT, {.i64=MODE_NONE}, MODE_NONE, MODE_DEINTERLEAVE, FLAGS, "luma_mode"}, @@ -210,4 +210,5 @@ AVFilter ff_vf_il = { .outputs = outputs, .priv_class = &il_class, .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, + .process_command = ff_filter_process_command, }; |