mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
video: add macro to check interlaced
Add a convenience macro to check if the video is interlaced.
This commit is contained in:
parent
be06c82bf1
commit
21ed12739e
1 changed files with 1 additions and 0 deletions
|
@ -553,6 +553,7 @@ struct _GstVideoInfo {
|
|||
#define GST_VIDEO_INFO_HAS_ALPHA(i) (GST_VIDEO_FORMAT_INFO_HAS_ALPHA((i)->finfo))
|
||||
|
||||
#define GST_VIDEO_INFO_INTERLACE_MODE(i) ((i)->interlace_mode)
|
||||
#define GST_VIDEO_INFO_IS_INTERLACED(i) ((i)->interlace_mode != GST_VIDEO_INTERLACE_MODE_PROGRESSIVE)
|
||||
#define GST_VIDEO_INFO_FLAGS(i) ((i)->flags)
|
||||
#define GST_VIDEO_INFO_WIDTH(i) ((i)->width)
|
||||
#define GST_VIDEO_INFO_HEIGHT(i) ((i)->height)
|
||||
|
|
Loading…
Reference in a new issue