mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
video: add macro to access flags
This commit is contained in:
parent
d71e6cb110
commit
42b49f6b0e
1 changed files with 1 additions and 0 deletions
|
@ -374,6 +374,7 @@ struct _GstVideoInfo {
|
||||||
/* general info */
|
/* general info */
|
||||||
#define GST_VIDEO_INFO_FORMAT(i) (GST_VIDEO_FORMAT_INFO_FORMAT((i)->finfo))
|
#define GST_VIDEO_INFO_FORMAT(i) (GST_VIDEO_FORMAT_INFO_FORMAT((i)->finfo))
|
||||||
#define GST_VIDEO_INFO_NAME(i) (GST_VIDEO_FORMAT_INFO_NAME((i)->finfo))
|
#define GST_VIDEO_INFO_NAME(i) (GST_VIDEO_FORMAT_INFO_NAME((i)->finfo))
|
||||||
|
#define GST_VIDEO_INFO_FLAGS(i) ((i)->flags)
|
||||||
#define GST_VIDEO_INFO_WIDTH(i) ((i)->width)
|
#define GST_VIDEO_INFO_WIDTH(i) ((i)->width)
|
||||||
#define GST_VIDEO_INFO_HEIGHT(i) ((i)->height)
|
#define GST_VIDEO_INFO_HEIGHT(i) ((i)->height)
|
||||||
#define GST_VIDEO_INFO_SIZE(i) ((i)->size)
|
#define GST_VIDEO_INFO_SIZE(i) ((i)->size)
|
||||||
|
|
Loading…
Reference in a new issue