| @@ -211,7 +211,7 @@ static av_cold void uninit(AVFilterContext *ctx) · 210 unmodified lines |
| 211 | } | 211 | } |
| 212 | | 212 | |
| 213 | #define OFFSET(x) offsetof(LagfunContext, x) | 213 | #define OFFSET(x) offsetof(LagfunContext, x) |
| 214 | #define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM | 214 | #define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_RUNTIME_PARAM |
| 215 | | 215 | |
| 216 | static const AVOption lagfun_options[] = { | 216 | static const AVOption lagfun_options[] = { |
| 217 | { "decay", "set decay", OFFSET(decay), AV_OPT_TYPE_FLOAT, {.dbl=.95}, 0, 1, FLAGS }, | 217 | { "decay", "set decay", OFFSET(decay), AV_OPT_TYPE_FLOAT, {.dbl=.95}, 0, 1, FLAGS }, |
| @@ -249,4 +249,5 @@ AVFilter ff_vf_lagfun = { · 31 unmodified lines |
| 249 | .outputs = outputs, | 249 | .outputs = outputs, |
| 250 | .inputs = inputs, | 250 | .inputs = inputs, |
| 251 | .flags = AVFILTER_FLAG_SLICE_THREADS, | 251 | .flags = AVFILTER_FLAG_SLICE_THREADS, |
| | 252 | .process_command = ff_filter_process_command, |
| 252 | }; | 253 | }; |