From e6ec142084ae30e98ebdf44930edd95a5eaaf792 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Sun, 14 Jun 2015 10:58:18 -0400 Subject: [PATCH] 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. --- libs/gst/base/gstcollectpads.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/gst/base/gstcollectpads.h b/libs/gst/base/gstcollectpads.h index 4176530..cfa29eb 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; }; -- 2.7.4