[FFmpeg-cvslog] lavfi/il: 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:27:31 2013 +0200| [6f46403cb0568440e9f0b177c6f6abb4d0898309] | committer: Matthieu Bouron

lavfi/il: switch to AVOption-based system

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6f46403cb0568440e9f0b177c6f6abb4d0898309
---

 doc/filters.texi       |    3 +--
 libavfilter/avfilter.c |    1 +
 libavfilter/vf_il.c    |    3 ---
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index b2d375d..cd81a71 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3750,8 +3750,7 @@ fields (so called half pictures). Odd lines are moved to the top
 half of the output image, even lines to the bottom half.
 You can process (filter) them independently and then re-interleave them.
 
-It accepts a list of options in the form of @var{key}=@var{value} pairs
-separated by ":". A description of the accepted options follows.
+The filter accepts the following options:
 
 @table @option
 @item luma_mode, l
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 753567f..8864a6b 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -678,6 +678,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
         !strcmp(filter->filter->name,  "geq"       ) ||
         !strcmp(filter->filter->name, "gradfun"    ) ||
         !strcmp(filter->filter->name, "hqdn3d"     ) ||
+        !strcmp(filter->filter->name,  "il"        ) ||
         !strcmp(filter->filter->name, "ocv"        ) ||
         !strcmp(filter->filter->name, "lut"        ) ||
         !strcmp(filter->filter->name, "lutyuv"     ) ||
diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c
index 7eee398..904be8c 100644
--- a/libavfilter/vf_il.c
+++ b/libavfilter/vf_il.c
@@ -204,8 +204,6 @@ static const AVFilterPad outputs[] = {
     { NULL }
 };
 
-static const char *const shorthand[] = { NULL };
-
 AVFilter avfilter_vf_il = {
     .name          = "il",
     .description   = NULL_IF_CONFIG_SMALL("Deinterleave or interleave fields."),
@@ -214,5 +212,4 @@ AVFilter avfilter_vf_il = {
     .inputs        = inputs,
     .outputs       = outputs,
     .priv_class    = &il_class,
-    .shorthand     = shorthand,
 };



More information about the ffmpeg-cvslog mailing list