Showing the changes to libavfilter (1 of 2 files). Show all
Unified · Split
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "framesync.h" |
| 29 | 29 | |
| 30 | 30 | #define OFFSET(x) offsetof(MaskedMinMaxContext, x) |
| 31 | −#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM | |
| 31 | +#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM | |
| 32 | 32 | |
| 33 | 33 | typedef struct ThreadData { |
| 34 | 34 | AVFrame *src, *f1, *f2, *dst; |
| @@ -50,7 +50,7 @@ typedef struct MaskedMinMaxContext { · 15 unmodified lines | ||
| 50 | 50 | } MaskedMinMaxContext; |
| 51 | 51 | |
| 52 | 52 | static const AVOption maskedminmax_options[] = { |
| 53 | − { "planes", "set planes", OFFSET(planes), AV_OPT_TYPE_INT, {.i64=0xF}, 0, 0xF, FLAGS }, | |
| 53 | + { "planes", "set planes", OFFSET(planes), AV_OPT_TYPE_INT, {.i64=0xF}, 0, 0xF, FLAGS }, | |
| 54 | 54 | { NULL } |
| 55 | 55 | }; |
| 56 | 56 | |
| @@ -340,6 +340,7 @@ AVFilter ff_vf_maskedmin = { · 283 unmodified lines | ||
| 340 | 340 | .inputs = maskedminmax_inputs, |
| 341 | 341 | .outputs = maskedminmax_outputs, |
| 342 | 342 | .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS, |
| 343 | + .process_command = ff_filter_process_command, | |
| 343 | 344 | }; |
| 344 | 345 | |
| 345 | 346 | #define maskedmax_options maskedminmax_options |
| @@ -357,4 +358,5 @@ AVFilter ff_vf_maskedmax = { · 11 unmodified lines | ||
| 357 | 358 | .inputs = maskedminmax_inputs, |
| 358 | 359 | .outputs = maskedminmax_outputs, |
| 359 | 360 | .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS, |
| 361 | + .process_command = ff_filter_process_command, | |
| 360 | 362 | }; |