History

avfilter/vf_lagfun: add support for commands

Paul B Mahol committed 5 years ago

Commit 633e3441 parent f0dd5c02 files · +6 −1Browse files

Showing the changes to libavfilter (1 of 2 files). Show all

Unified · Split

libavfilter/vf_lagfun.c+2−1
@@ -211,7 +211,7 @@ static av_cold void uninit(AVFilterContext *ctx) · 210 unmodified lines
211211 }
212212
213213 #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
215215
216216 static const AVOption lagfun_options[] = {
217217 { "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
249249 .outputs = outputs,
250250 .inputs = inputs,
251251 .flags = AVFILTER_FLAG_SLICE_THREADS,
252+ .process_command = ff_filter_process_command,
252253 };

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