summaryrefslogtreecommitdiff
path: root/gst/yadif/gstyadif.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/yadif/gstyadif.h')
-rw-r--r--gst/yadif/gstyadif.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gst/yadif/gstyadif.h b/gst/yadif/gstyadif.h
index 118f5010d..eb92cbe8d 100644
--- a/gst/yadif/gstyadif.h
+++ b/gst/yadif/gstyadif.h
@@ -35,6 +35,12 @@ G_BEGIN_DECLS
typedef struct _GstYadif GstYadif;
typedef struct _GstYadifClass GstYadifClass;
+typedef enum {
+ GST_DEINTERLACE_MODE_AUTO,
+ GST_DEINTERLACE_MODE_INTERLACED,
+ GST_DEINTERLACE_MODE_DISABLED
+} GstDeinterlaceMode;
+
struct _GstYadif
{
GstBaseTransform base_yadif;
@@ -42,7 +48,7 @@ struct _GstYadif
GstPad *sinkpad;
GstPad *srcpad;
- int mode;
+ GstDeinterlaceMode mode;
GstVideoInfo video_info;