[FFmpeg-devel] [PATCH] yadif: correct parity docs

Stefano Sabatini stefano.sabatini-lala at poste.it
Thu Aug 4 00:29:17 CEST 2011


The documentation for the parity field was inverted.

Fix trac issue #380.
---
 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 2747402..33d6496 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1846,9 +1846,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 6fc9f47..13186e7 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -36,8 +36,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;
-- 
1.7.2.5



More information about the ffmpeg-devel mailing list