Unified · Split
| @@ -14055,6 +14055,10 @@ copied from second stream. · 14054 unmodified lines | ||
| 14055 | 14055 | By default value 0xf, all planes will be processed. |
| 14056 | 14056 | @end table |
| 14057 | 14057 | |
| 14058 | +@subsection Commands | |
| 14059 | + | |
| 14060 | +This filter supports the all above options as @ref{commands}. | |
| 14061 | + | |
| 14058 | 14062 | @section maskfun |
| 14059 | 14063 | Create mask from input video. |
| 14060 | 14064 | |
| @@ -43,7 +43,7 @@ typedef struct MaskedThresholdContext { · 42 unmodified lines | ||
| 43 | 43 | } MaskedThresholdContext; |
| 44 | 44 | |
| 45 | 45 | #define OFFSET(x) offsetof(MaskedThresholdContext, x) |
| 46 | −#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM | |
| 46 | +#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM | |
| 47 | 47 | |
| 48 | 48 | typedef struct ThreadData { |
| 49 | 49 | AVFrame *src, *ref, *dst; |
| @@ -295,4 +295,5 @@ AVFilter ff_vf_maskedthreshold = { · 245 unmodified lines | ||
| 295 | 295 | .inputs = maskedthreshold_inputs, |
| 296 | 296 | .outputs = maskedthreshold_outputs, |
| 297 | 297 | .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS, |
| 298 | + .process_command = ff_filter_process_command, | |
| 298 | 299 | }; |