History

avfilter/vf_neighbor: add support for commands

Paul B Mahol committed 6 years ago

Commit fad62ee1 parent f37bfd32 files · +18 −1Browse files

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

Unified · Split

libavfilter/vf_neighbor.c+2−1
@@ -353,7 +353,7 @@ static const AVFilterPad neighbor_outputs[] = { · 352 unmodified lines
353353 };
354354
355355 #define OFFSET(x) offsetof(NContext, x)
356−#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
356+#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
357357
358358 #define DEFINE_NEIGHBOR_FILTER(name_, description_) \
359359 AVFILTER_DEFINE_CLASS(name_); \
@@ -368,6 +368,7 @@ AVFilter ff_vf_##name_ = { \ · 8 unmodified lines
368368 .outputs = neighbor_outputs, \
369369 .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC| \
370370 AVFILTER_FLAG_SLICE_THREADS, \
371+ .process_command = ff_filter_process_command, \
371372 }
372373
373374 #if CONFIG_EROSION_FILTER

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