mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-15 20:44:16 +00:00
video: add macros for par and fps
This commit is contained in:
parent
06557739ab
commit
87e06b6808
1 changed files with 4 additions and 0 deletions
|
@ -316,6 +316,10 @@ struct _GstVideoInfo {
|
|||
#define GST_VIDEO_INFO_WIDTH(i) ((i)->width)
|
||||
#define GST_VIDEO_INFO_HEIGHT(i) ((i)->height)
|
||||
#define GST_VIDEO_INFO_SIZE(i) ((i)->size)
|
||||
#define GST_VIDEO_INFO_PAR_N(i) ((i)->par_n)
|
||||
#define GST_VIDEO_INFO_PAR_D(i) ((i)->par_d)
|
||||
#define GST_VIDEO_INFO_FPS_N(i) ((i)->fps_n)
|
||||
#define GST_VIDEO_INFO_FPS_D(i) ((i)->fps_d)
|
||||
|
||||
/* dealing with planes */
|
||||
#define GST_VIDEO_INFO_N_PLANES(i) (GST_VIDEO_FORMAT_INFO_N_PLANES((i)->finfo))
|
||||
|
|
Loading…
Reference in a new issue