From e0a658a664429fd75a54a62939d4f607079d67d8 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Mon, 3 Jan 2011 11:41:56 +0100 Subject: [PATCH] gstvideo: Add GST_VIDEO_BUFFER_PROGRESSIVE flag Maps to GST_BUFFER_FLAG_MEDIA4. The purpose is to explicitly indicate whether a telecined buffer is progressive or not without having to make assumptions based on previous buffers. --- gst-libs/gst/video/video.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gst-libs/gst/video/video.h b/gst-libs/gst/video/video.h index e78f74c660..2adf387ffa 100644 --- a/gst-libs/gst/video/video.h +++ b/gst-libs/gst/video/video.h @@ -410,6 +410,16 @@ typedef enum { */ #define GST_VIDEO_BUFFER_ONEFIELD GST_BUFFER_FLAG_MEDIA3 +/** + * GST_VIDEO_BUFFER_PROGRESSIVE: + * + * If the #GstBuffer is telecined, then the buffer is progressive if the + * %GST_VIDEO_BUFFER_PROGRESSIVE flag is set, else it is telecine mixed. + * + * Since: 0.10.33 + */ +#define GST_VIDEO_BUFFER_PROGRESSIVE GST_BUFFER_FLAG_MEDIA4 + /* functions */ const GValue *gst_video_frame_rate (GstPad *pad); gboolean gst_video_get_size (GstPad *pad,