summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/gstbin.h4
-rw-r--r--gst/gstclock.h1
-rw-r--r--gst/gstelement.h6
-rw-r--r--gst/gstobject.c6
-rw-r--r--gst/gstpadtemplate.h2
5 files changed, 11 insertions, 8 deletions
diff --git a/gst/gstbin.h b/gst/gstbin.h
index 19c7634a64..6ff4247729 100644
--- a/gst/gstbin.h
+++ b/gst/gstbin.h
@@ -81,10 +81,10 @@ typedef struct _GstBinPrivate GstBinPrivate;
/**
* GstBin:
* @numchildren: the number of children in this bin
- * @children: the list of children in this bin
+ * @children: (element-type Gst.Element): the list of children in this bin
* @children_cookie: updated whenever @children changes
* @child_bus: internal bus for handling child messages
- * @messages: queued and cached messages
+ * @messages: (element-type Gst.Message): queued and cached messages
* @polling: the bin is currently calculating its state
* @state_dirty: the bin needs to recalculate its state (deprecated)
* @clock_dirty: the bin needs to select a new clock
diff --git a/gst/gstclock.h b/gst/gstclock.h
index 253fc09eea..de6faaa41e 100644
--- a/gst/gstclock.h
+++ b/gst/gstclock.h
@@ -362,6 +362,7 @@ struct _GstClockEntry {
gboolean unscheduled;
gboolean woken_up;
+ /*< private >*/
gpointer _gst_reserved[GST_PADDING];
};
diff --git a/gst/gstelement.h b/gst/gstelement.h
index b396934e24..ea2b3101ca 100644
--- a/gst/gstelement.h
+++ b/gst/gstelement.h
@@ -532,11 +532,11 @@ G_STMT_START { \
* state will yield the running_time against the clock.
* @start_time: the running_time of the last PAUSED state
* @numpads: number of pads of the element, includes both source and sink pads.
- * @pads: list of pads
+ * @pads: (element-type Gst.Pad): list of pads
* @numsrcpads: number of source pads of the element.
- * @srcpads: list of source pads
+ * @srcpads: (element-type Gst.Pad): list of source pads
* @numsinkpads: number of sink pads of the element.
- * @sinkpads: list of sink pads
+ * @sinkpads: (element-type Gst.Pad): list of sink pads
* @pads_cookie: updated whenever the a pad is added or removed
*
* GStreamer element abstract base class.
diff --git a/gst/gstobject.c b/gst/gstobject.c
index e8d4880a8b..09835d919a 100644
--- a/gst/gstobject.c
+++ b/gst/gstobject.c
@@ -229,7 +229,7 @@ gst_object_init (GstObject * object)
/**
* gst_object_ref:
- * @object: a #GstObject to reference
+ * @object: (type Gst.Object): a #GstObject to reference
*
* Increments the reference count on @object. This function
* does not take the lock on @object because it relies on
@@ -239,7 +239,7 @@ gst_object_init (GstObject * object)
* constructs like :
* result = gst_object_ref (object->parent);
*
- * Returns: (transfer full): A pointer to @object
+ * Returns: (transfer full) (type Gst.Object): A pointer to @object
*/
gpointer
gst_object_ref (gpointer object)
@@ -257,7 +257,7 @@ gst_object_ref (gpointer object)
/**
* gst_object_unref:
- * @object: a #GstObject to unreference
+ * @object: (type Gst.Object): a #GstObject to unreference
*
* Decrements the reference count on @object. If reference count hits
* zero, destroy @object. This function does not take the lock
diff --git a/gst/gstpadtemplate.h b/gst/gstpadtemplate.h
index 7bbbf16fff..90f9b25235 100644
--- a/gst/gstpadtemplate.h
+++ b/gst/gstpadtemplate.h
@@ -126,6 +126,7 @@ struct _GstPadTemplate {
GstPadPresence presence;
GstCaps *caps;
+ /*< private >*/
gpointer _gst_reserved[GST_PADDING];
};
@@ -135,6 +136,7 @@ struct _GstPadTemplateClass {
/* signal callbacks */
void (*pad_created) (GstPadTemplate *templ, GstPad *pad);
+ /*< private >*/
gpointer _gst_reserved[GST_PADDING];
};