[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-cvs
Subject: gst-plugins-base: video-format: Fix macro documentation
From: nicolasd () kemper ! freedesktop ! org (Nicolas Dufresne)
Date: 2016-03-31 18:18:30
Message-ID: 20160331181830.D61B6761B8 () kemper ! freedesktop ! org
[Download RAW message or body]
Module: gst-plugins-base
Branch: master
Commit: a7809ecc8fe024d32f26db7517b3cd16bd867d4c
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=a7809ecc8fe024d32f26db7517b3cd16bd867d4c
Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Date: Thu Mar 31 13:32:32 2016 -0400
video-format: Fix macro documentation
The parameter type was wrongly documenting that a GstVideoInfo structure
pointer was needed, while it needs a GstVideoFormatInfo structure
pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=764414
---
gst-libs/gst/video/video-format.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gst-libs/gst/video/video-format.h b/gst-libs/gst/video/video-format.h
index 8fdab40..b406cd3 100644
--- a/gst-libs/gst/video/video-format.h
+++ b/gst-libs/gst/video/video-format.h
@@ -401,7 +401,7 @@ struct _GstVideoFormatInfo {
#define GST_VIDEO_FORMAT_INFO_DEPTH(info,c) ((info)->depth[c])
/**
* GST_VIDEO_FORMAT_INFO_PSTRIDE:
- * @info: a #GstVideoInfo
+ * @info: a #GstVideoFormatInfo
* @c: the component index
*
* pixel stride for the given component. This is the amount of bytes to the
@@ -416,7 +416,7 @@ struct _GstVideoFormatInfo {
#define GST_VIDEO_FORMAT_INFO_PSTRIDE(info,c) ((info)->pixel_stride[c])
/**
* GST_VIDEO_FORMAT_INFO_N_PLANES:
- * @info: a #GstVideoInfo
+ * @info: a #GstVideoFormatInfo
*
* Number of planes. This is the number of planes the pixel layout is
* organized in in memory. The number of planes can be less than the
@@ -429,7 +429,7 @@ struct _GstVideoFormatInfo {
#define GST_VIDEO_FORMAT_INFO_N_PLANES(info) ((info)->n_planes)
/**
* GST_VIDEO_FORMAT_INFO_PLANE:
- * @info: a #GstVideoInfo
+ * @info: a #GstVideoFormatInfo
* @c: the component index
*
* Plane number where the given component can be found. A plane may
@@ -450,7 +450,7 @@ struct _GstVideoFormatInfo {
(((guint8*)(planes)[(info)->plane[comp]]) + (info)->poffset[comp])
/**
* GST_VIDEO_FORMAT_INFO_STRIDE:
- * @info: a #GstVideoInfo
+ * @info: a #GstVideoFormatInfo
* @strides: an array of strides
* @comp: the component index
*
_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic