Showing the changes to libavfilter (1 of 2 files). Show all
Unified · Split
| @@ -34,7 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "threshold.h" |
| 35 | 35 | |
| 36 | 36 | #define OFFSET(x) offsetof(ThresholdContext, x) |
| 37 | −#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM | |
| 37 | +#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM | |
| 38 | 38 | |
| 39 | 39 | static const AVOption threshold_options[] = { |
| 40 | 40 | { "planes", "set planes to filter", OFFSET(planes), AV_OPT_TYPE_INT, {.i64=15}, 0, 15, FLAGS}, |
| @@ -365,4 +365,5 @@ const AVFilter ff_vf_threshold = { · 324 unmodified lines | ||
| 365 | 365 | .inputs = inputs, |
| 366 | 366 | .outputs = outputs, |
| 367 | 367 | .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS, |
| 368 | + .process_command = ff_filter_process_command, | |
| 368 | 369 | }; |