summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2015-06-14 10:58:18 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2015-06-14 10:58:18 -0400
commite6ec142084ae30e98ebdf44930edd95a5eaaf792 (patch)
treeed3b472c3c34f701fe4a5d559d82b7a31286fd5e /libs
parent0e0a0c1b11a03908680e79da656de8196d462f0a (diff)
doc: Better document new GstCollectData.ABI.abi.dts
The doc generator get confused with the inline structure. So workaround by wrapping the inner of the structure with public/private mark, and document that GST_COLLECT_PADS_DTS macro shall be used to access this.
Diffstat (limited to 'libs')
-rw-r--r--libs/gst/base/gstcollectpads.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/gst/base/gstcollectpads.h b/libs/gst/base/gstcollectpads.h
index 4176530ee..cfa29eba0 100644
--- a/libs/gst/base/gstcollectpads.h
+++ b/libs/gst/base/gstcollectpads.h
@@ -135,7 +135,8 @@ typedef enum {
* @buffer: currently queued buffer.
* @pos: position in the buffer
* @segment: last segment received.
- * @dts: the signed version of the DTS converted to running time. (Since 1.6)
+ * @dts: the signed version of the DTS converted to running time. To access
+ * this memeber, use %GST_COLLECT_PADS_DTS macro. (Since 1.6)
*
* Structure used by the collect_pads.
*/
@@ -155,12 +156,12 @@ struct _GstCollectData
GstCollectDataPrivate *priv;
- /*< public >*/
union {
struct {
+ /*< public >*/
gint64 dts;
+ /*< private >*/
} abi;
- /*< private >*/
gpointer _gst_reserved[GST_PADDING];
} ABI;
};