diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-04 00:25:35 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-04 19:09:57 +0200 |
commit | 82b1516a85ad21b5455dcfef6fe49d1189565c33 (patch) | |
tree | 63deef9ef04084ce0dee46be615e304126c95ea7 | |
parent | 9e63720b4b1241a9b17622b789c47cff6e180a4f (diff) | |
download | ffmpeg-82b1516a85ad21b5455dcfef6fe49d1189565c33.tar.gz |
yadif: correct documentation on the parity parameter
0 is top-field-first, 1 is bottom-field-first, not the other way
around.
Fix trac issue #380.
-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 27474024a9..33d6496b8a 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 -@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 6fc9f479e7..13186e79ad 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; |