[gst-cvs] gst-plugins-base: discoverer: Fix a gtk-doc gobject-introspection annotation

Tim Müller tpm at kemper.freedesktop.org
Mon Nov 8 03:45:38 PST 2010


Module: gst-plugins-base
Branch: master
Commit: 5cb8b39c2c9e0b7d0c8ad1c36eddeeaa34af1c0e
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=5cb8b39c2c9e0b7d0c8ad1c36eddeeaa34af1c0e

Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
Date:   Mon Nov  8 09:45:52 2010 +0530

discoverer: Fix a gtk-doc gobject-introspection annotation

gst_discoverer_discover_uri() expects the caller to unref the returned
GstDiscovererInfo object. The corresponding gtk-doc annotation was not
updated to reflect this.

---

 gst-libs/gst/pbutils/gstdiscoverer.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c
index 176800e..0b632c8 100644
--- a/gst-libs/gst/pbutils/gstdiscoverer.c
+++ b/gst-libs/gst/pbutils/gstdiscoverer.c
@@ -1318,8 +1318,7 @@ gst_discoverer_discover_uri_async (GstDiscoverer * discoverer,
  *
  * A copy of @uri will be done internally, the caller can safely g_free() afterwards.
  *
- * Returns: (transfer none): see #GstDiscovererInfo. The caller must free this structure
- * after use.
+ * Returns: see #GstDiscovererInfo. The caller must unref this structure after use.
  * 
  * Since: 0.10.31
  */





More information about the Gstreamer-commits mailing list