[FFmpeg-cvslog] avfilter/vf_neighbor: add support for commands
Paul B Mahol
git at videolan.org
Fri Dec 27 21:45:52 EET 2019
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Dec 27 20:21:20 2019 +0100| [fad62eebee0cff5acd4be6d2fe993e1d605e1f26] | committer: Paul B Mahol
avfilter/vf_neighbor: add support for commands
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fad62eebee0cff5acd4be6d2fe993e1d605e1f26
---
doc/filters.texi | 16 ++++++++++++++++
libavfilter/vf_neighbor.c | 3 ++-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index 8c5d3a5760..a700f7eb74 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -8632,6 +8632,10 @@ Limit the maximum change for each plane, default is 65535.
If 0, plane will remain unchanged.
@end table
+ at subsection Commands
+
+This filter supports the all above options as @ref{commands}.
+
@section deflicker
Remove temporal frame luminance variations.
@@ -8973,6 +8977,10 @@ Flags to local 3x3 coordinates maps like this:
6 7 8
@end table
+ at subsection Commands
+
+This filter supports the all above options as @ref{commands}.
+
@section displace
Displace pixels as indicated by second and third input stream.
@@ -10121,6 +10129,10 @@ Flags to local 3x3 coordinates maps like this:
6 7 8
@end table
+ at subsection Commands
+
+This filter supports the all above options as @ref{commands}.
+
@section extractplanes
Extract color channel components from input video stream into
@@ -12186,6 +12198,10 @@ Limit the maximum change for each plane, default is 65535.
If 0, plane will remain unchanged.
@end table
+ at subsection Commands
+
+This filter supports the all above options as @ref{commands}.
+
@section interlace
Simple interlacing filter from progressive contents. This interleaves upper (or
diff --git a/libavfilter/vf_neighbor.c b/libavfilter/vf_neighbor.c
index f20997212c..17a9b88265 100644
--- a/libavfilter/vf_neighbor.c
+++ b/libavfilter/vf_neighbor.c
@@ -353,7 +353,7 @@ static const AVFilterPad neighbor_outputs[] = {
};
#define OFFSET(x) offsetof(NContext, x)
-#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
+#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
#define DEFINE_NEIGHBOR_FILTER(name_, description_) \
AVFILTER_DEFINE_CLASS(name_); \
@@ -368,6 +368,7 @@ AVFilter ff_vf_##name_ = { \
.outputs = neighbor_outputs, \
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC| \
AVFILTER_FLAG_SLICE_THREADS, \
+ .process_command = ff_filter_process_command, \
}
#if CONFIG_EROSION_FILTER
More information about the ffmpeg-cvslog
mailing list