Browse Source

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>
tags/n0.9
Stefano Sabatini Anton Khirnov 13 years ago
parent
commit
4703a7b50b
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      doc/filters.texi
  2. +2
    -2
      libavfilter/vf_yadif.c

+ 2
- 2
doc/filters.texi View File

@@ -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


+ 2
- 2
libavfilter/vf_yadif.c View File

@@ -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;


Loading…
Cancel
Save