summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-04 00:25:35 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-21 08:59:58 +0200
commit4703a7b50b098a53ec2f806bd41a00fd87ea9d8c (patch)
treea182b83c31313f4a401ed3e86719388bda4396dc
parent5feb67f8a1a17a4dd3cec0aa80ef0dc543fc7673 (diff)
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>
-rw-r--r--doc/filters.texi4
-rw-r--r--libavfilter/vf_yadif.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index f0a43813b6..2967db14d2 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1527,9 +1527,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 2ba173970c..7a5b98e483 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;