[gst-cvs] gstreamer: introspection: add annotation for gst_element_get_state
Tim Mueller
tpm at kemper.freedesktop.org
Wed Feb 17 17:38:04 PST 2010
Module: gstreamer
Branch: master
Commit: 1d7afbd0f2685bde898bdac91840fd6a8f3326ad
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=1d7afbd0f2685bde898bdac91840fd6a8f3326ad
Author: Johan Bilien <jobi at litl.com>
Date: Tue Dec 22 11:09:10 2009 +0800
introspection: add annotation for gst_element_get_state
state and pending are "out" arguments.
Fixes #605189.
---
gst/gstelement.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gst/gstelement.c b/gst/gstelement.c
index 4ceceff..92d755d 100644
--- a/gst/gstelement.c
+++ b/gst/gstelement.c
@@ -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.
*
More information about the Gstreamer-commits
mailing list