History

avfilter/vf_maskedclamp: add support for commands

Paul B Mahol committed 5 years ago

Commit 4fcfecd1 parent d6a356f2 files · +6 −1Browse files

Unified · Split

2 files
  1. doc/filters.texi +4 −0
  2. libavfilter/vf_maskedclamp.c +2 −1
doc/filters.texi+4−0
@@ -13971,6 +13971,10 @@ copied from first stream. · 13970 unmodified lines
1397113971 By default value 0xf, all planes will be processed.
1397213972 @end table
1397313973
13974+@subsection Commands
13975+
13976+This filter supports the all above options as @ref{commands}.
13977+
1397413978 @section maskedmax
1397513979
1397613980 Merge the second and third input stream into output stream using absolute differences
libavfilter/vf_maskedclamp.c+2−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
2929 #include "maskedclamp.h"
3030
3131 #define OFFSET(x) offsetof(MaskedClampContext, x)
32−#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
32+#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
3333
3434 typedef struct ThreadData {
3535 AVFrame *b, *o, *m, *d;
@@ -327,4 +327,5 @@ AVFilter ff_vf_maskedclamp = { · 291 unmodified lines
327327 .outputs = maskedclamp_outputs,
328328 .priv_class = &maskedclamp_class,
329329 .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS,
330+ .process_command = ff_filter_process_command,
330331 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t