[FFmpeg-cvslog] lavfi/kerndeint: switch to AVOption-based system
Matthieu Bouron
git at videolan.org
Thu Apr 11 01:10:16 CEST 2013
ffmpeg | branch: master | Matthieu Bouron <matthieu.bouron at gmail.com> | Thu Apr 11 00:52:39 2013 +0200| [531158e6becb6f822280a12277b6627a47e49b6a] | committer: Matthieu Bouron
lavfi/kerndeint: switch to AVOption-based system
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=531158e6becb6f822280a12277b6627a47e49b6a
---
doc/filters.texi | 5 -----
libavfilter/avfilter.c | 1 +
libavfilter/vf_kerndeint.c | 2 --
3 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index cd81a71..74053e4 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3783,11 +3783,6 @@ Deinterlace input video by applying Donald Graft's adaptive kernel
deinterling. Work on interlaced parts of a video to produce
progressive frames.
-This filter accepts parameters as a list of @var{key}=@var{value}
-pairs, separated by ":". If the key of the first options is omitted,
-the arguments are interpreted according to the following syntax:
- at var{thresh}:@var{map}:@var{order}:@var{sharp}:@var{twoway}.
-
The description of the accepted parameters follows.
@table @option
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 8864a6b..3992df7 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -679,6 +679,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!strcmp(filter->filter->name, "gradfun" ) ||
!strcmp(filter->filter->name, "hqdn3d" ) ||
!strcmp(filter->filter->name, "il" ) ||
+ !strcmp(filter->filter->name, "kerndeint" ) ||
!strcmp(filter->filter->name, "ocv" ) ||
!strcmp(filter->filter->name, "lut" ) ||
!strcmp(filter->filter->name, "lutyuv" ) ||
diff --git a/libavfilter/vf_kerndeint.c b/libavfilter/vf_kerndeint.c
index 2b29bdc..8a44868 100644
--- a/libavfilter/vf_kerndeint.c
+++ b/libavfilter/vf_kerndeint.c
@@ -305,7 +305,6 @@ static const AVFilterPad kerndeint_outputs[] = {
{ NULL }
};
-static const char *const shorthand[] = { "thresh", "map", "order", "sharp", "twoway", NULL };
AVFilter avfilter_vf_kerndeint = {
.name = "kerndeint",
@@ -318,5 +317,4 @@ AVFilter avfilter_vf_kerndeint = {
.outputs = kerndeint_outputs,
.priv_class = &kerndeint_class,
- .shorthand = shorthand,
};
More information about the ffmpeg-cvslog
mailing list