diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-04 00:25:35 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-02-08 14:38:27 +0100 |
commit | 5c9ca599a70c0babdc4af301753e7067888611d6 (patch) | |
tree | fe16b0d3e93362f479687e428edb97eef3972bef | |
parent | 4a2287667590ad932b012a1a760b67cdf3ad1c14 (diff) | |
download | ffmpeg-5c9ca599a70c0babdc4af301753e7067888611d6.tar.gz |
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@khirnov.net>
(cherry picked from commit 4703a7b50b098a53ec2f806bd41a00fd87ea9d8c)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
-rw-r--r-- | doc/filters.texi | 4 | ||||
-rw-r--r-- | libavfilter/vf_yadif.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 9666f582f2..c1cf0084f8 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 -@item 1 assume top field first +@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 c7fc4393fd..e9f9bb6afa 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; |