aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/tinterlace.h
diff options
context:
space:
mode:
authorThomas Mundt <tmundt75@gmail.com>2018-08-23 23:37:10 +0200
committerPaul B Mahol <onemda@gmail.com>2018-09-07 18:46:56 +0200
commitf4438e387e039cd078879096453c54d5ce2c94d1 (patch)
treef8346b67f53c146672325ddcbe6354152b88c355 /libavfilter/tinterlace.h
parentcc24665f4479af6eb49c05033bf2d6fbae8c1f83 (diff)
downloadffmpeg-f4438e387e039cd078879096453c54d5ce2c94d1.tar.gz
avfilter/vf_interlace: fix numerical options
Regression since 9c01cdb94e24aaf50f867a0a5c42b097c17c42b1 Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Diffstat (limited to 'libavfilter/tinterlace.h')
-rw-r--r--libavfilter/tinterlace.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libavfilter/tinterlace.h b/libavfilter/tinterlace.h
index b5c39aac52..5bcb9a583a 100644
--- a/libavfilter/tinterlace.h
+++ b/libavfilter/tinterlace.h
@@ -34,8 +34,8 @@
#include "avfilter.h"
#define TINTERLACE_FLAG_VLPF 01
-#define TINTERLACE_FLAG_EXACT_TB 2
-#define TINTERLACE_FLAG_CVLPF 4
+#define TINTERLACE_FLAG_CVLPF 2
+#define TINTERLACE_FLAG_EXACT_TB 4
enum TInterlaceMode {
MODE_MERGE = 0,
@@ -49,6 +49,11 @@ enum TInterlaceMode {
MODE_NB,
};
+enum InterlaceScanMode {
+ MODE_TFF = 0,
+ MODE_BFF,
+};
+
typedef struct TInterlaceContext {
const AVClass *class;
int mode; ///< TInterlaceMode, interlace mode selected