introspection: add annotation for gst_element_get_state
authorJohan Bilien <jobi@litl.com>
Tue, 22 Dec 2009 03:09:10 +0000 (11:09 +0800)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 18 Feb 2010 01:28:57 +0000 (01:28 +0000)
state and pending are "out" arguments.

Fixes #605189.

gst/gstelement.c

index 4ceceff..92d755d 100644 (file)
@@ -2043,9 +2043,9 @@ interrupted:
 /**
  * gst_element_get_state:
  * @element: a #GstElement to get the state of.
- * @state: a pointer to #GstState to hold the state. Can be %NULL.
- * @pending: a pointer to #GstState to hold the pending state.
- *           Can be %NULL.
+ * @state: (out): a pointer to #GstState to hold the state. Can be %NULL.
+ * @pending: (out): a pointer to #GstState to hold the pending state.
+ *                  Can be %NULL.
  * @timeout: a #GstClockTime to specify the timeout for an async
  *           state change or %GST_CLOCK_TIME_NONE for infinite timeout.
  *