video: Add GST_VIDEO_INFO_COMP_WIDTH
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 6 Feb 2012 08:53:22 +0000 (09:53 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 6 Feb 2012 08:53:22 +0000 (09:53 +0100)
gst-libs/gst/video/video.h

index 55eea6c..0fd1d07 100644 (file)
@@ -576,6 +576,7 @@ struct _GstVideoInfo {
 
 /* dealing with components */
 #define GST_VIDEO_INFO_N_COMPONENTS(i)   GST_VIDEO_FORMAT_INFO_N_COMPONENTS((i)->finfo)
+#define GST_VIDEO_INFO_COMP_DEPTH(i,c)   GST_VIDEO_FORMAT_INFO_DEPTH((i)->finfo,c)
 #define GST_VIDEO_INFO_COMP_DATA(i,d,c)  GST_VIDEO_FORMAT_INFO_DATA((i)->finfo,d,c)
 #define GST_VIDEO_INFO_COMP_OFFSET(i,c)  GST_VIDEO_FORMAT_INFO_OFFSET((i)->finfo,(i)->offset,c)
 #define GST_VIDEO_INFO_COMP_STRIDE(i,c)  GST_VIDEO_FORMAT_INFO_STRIDE((i)->finfo,(i)->stride,c)