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.
This commit is contained in:
Robert Swain 2011-01-03 11:41:56 +01:00
parent eb91fe7162
commit e0a658a664

View file

@ -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,