[FFmpeg-cvslog] vf_yadif: correct documentation on the parity parameter

Stefano Sabatini git at videolan.org
Mon Mar 19 05:30:19 CET 2012


ffmpeg | branch: release/0.8 | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Thu Aug  4 00:25:35 2011 +0200| [5c9ca599a70c0babdc4af301753e7067888611d6] | committer: Reinhard Tartler

vf_yadif: correct documentation on the parity parameter

0 is top-field-first, 1 is bottom-field-first, not the other way
around.

Signed-off-by: Anton Khirnov <anton at khirnov.net>
(cherry picked from commit 4703a7b50b098a53ec2f806bd41a00fd87ea9d8c)

Signed-off-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Reinhard Tartler <siretart at tauware.de>

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

 doc/filters.texi       |    4 ++--
 libavfilter/vf_yadif.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 9666f58..c1cf008 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1353,9 +1353,9 @@ interlaced video, accepts one of the following values:
 
 @table @option
 @item 0
-assume bottom field first
- at item 1
 assume top field first
+ at item 1
+assume bottom field first
 @item -1
 enable automatic detection
 @end table
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index c7fc439..e9f9bb6 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -38,8 +38,8 @@ typedef struct {
     int mode;
 
     /**
-     *  0: bottom field first
-     *  1: top field first
+     *  0: top field first
+     *  1: bottom field first
      * -1: auto-detection
      */
     int parity;



More information about the ffmpeg-cvslog mailing list