From 4340b80f81754b87b4e1dc202d418e5135beb564 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 4 Jul 2011 18:08:25 +0200 Subject: [PATCH] video: add macro to get frame size --- gst-libs/gst/video/video.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/video/video.h b/gst-libs/gst/video/video.h index 7dbfafde87..6827bc73cc 100644 --- a/gst-libs/gst/video/video.h +++ b/gst-libs/gst/video/video.h @@ -340,6 +340,7 @@ gboolean gst_video_frame_copy (GstVideoFrame *dest, const GstVideoFr #define GST_VIDEO_FRAME_FORMAT(f) (GST_VIDEO_INFO_FORMAT(&(f)->info)) #define GST_VIDEO_FRAME_WIDTH(f) (GST_VIDEO_INFO_WIDTH(&(f)->info)) #define GST_VIDEO_FRAME_HEIGHT(f) (GST_VIDEO_INFO_HEIGHT(&(f)->info)) +#define GST_VIDEO_FRAME_SIZE(f) (GST_VIDEO_INFO_SIZE(&(f)->info)) /* dealing with planes */ #define GST_VIDEO_FRAME_N_PLANES(f) (GST_VIDEO_INFO_N_PLANES(&(f)->info))