mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 21:42:25 +00:00
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:
parent
eb91fe7162
commit
e0a658a664
1 changed files with 10 additions and 0 deletions
|
@ -410,6 +410,16 @@ typedef enum {
|
||||||
*/
|
*/
|
||||||
#define GST_VIDEO_BUFFER_ONEFIELD GST_BUFFER_FLAG_MEDIA3
|
#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 */
|
/* functions */
|
||||||
const GValue *gst_video_frame_rate (GstPad *pad);
|
const GValue *gst_video_frame_rate (GstPad *pad);
|
||||||
gboolean gst_video_get_size (GstPad *pad,
|
gboolean gst_video_get_size (GstPad *pad,
|
||||||
|
|
Loading…
Reference in a new issue