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
353};353};
354 354
355#define OFFSET(x) offsetof(NContext, x)355#define OFFSET(x) offsetof(NContext, x)
356#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM356#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
357 357
358#define DEFINE_NEIGHBOR_FILTER(name_, description_) \358#define DEFINE_NEIGHBOR_FILTER(name_, description_) \
359AVFILTER_DEFINE_CLASS(name_); \359AVFILTER_DEFINE_CLASS(name_); \
@@ -368,6 +368,7 @@ AVFilter ff_vf_##name_ = { \ · 8 unmodified lines
368 .outputs = neighbor_outputs, \368 .outputs = neighbor_outputs, \
369 .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC| \369 .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC| \
370 AVFILTER_FLAG_SLICE_THREADS, \370 AVFILTER_FLAG_SLICE_THREADS, \
371 .process_command = ff_filter_process_command, \
371}372}
372 373
373#if CONFIG_EROSION_FILTER374#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