summaryrefslogtreecommitdiff
path: root/libavfilter/yadif.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-01-02 11:40:02 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-01-04 11:48:54 +0100
commitf7dc6aa6b194ea7b8e0d6f475f8ba04c3cd50a99 (patch)
tree7a0265b3c3721787917702b551d326415519af70 /libavfilter/yadif.h
parent8674597fe53179538a27093e12fc81ed9f84e017 (diff)
lavfi/yadif: add support to named options and options introspection
Also rename the "enable_auto" field to "deint", to match the name of the option.
Diffstat (limited to 'libavfilter/yadif.h')
-rw-r--r--libavfilter/yadif.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/yadif.h b/libavfilter/yadif.h
index 41691de65d..22904fb660 100644
--- a/libavfilter/yadif.h
+++ b/libavfilter/yadif.h
@@ -23,6 +23,8 @@
#include "avfilter.h"
typedef struct YADIFContext {
+ const AVClass *class;
+
/**
* 0: send 1 frame for each frame
* 1: send 1 frame for each field
@@ -44,7 +46,7 @@ typedef struct YADIFContext {
* 0: deinterlace all frames
* 1: only deinterlace frames marked as interlaced
*/
- int auto_enable;
+ int deint;
AVFilterBufferRef *cur;
AVFilterBufferRef *next;