summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-10-15 17:23:44 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-10-15 17:23:44 +0100
commitbeae0db284318ce3eda503a1b42ba8bedaabcad3 (patch)
tree706f725fbad0921b0b24a231dd0f99295fb02f99
parentb5f6f4873b8394c027ce36d7785216d6739ff40a (diff)
docs: improve gst_discoverer_new() docs a bit
-rw-r--r--gst-libs/gst/pbutils/gstdiscoverer.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c
index 5d1ba2597..eb04f3a9f 100644
--- a/gst-libs/gst/pbutils/gstdiscoverer.c
+++ b/gst-libs/gst/pbutils/gstdiscoverer.c
@@ -1362,14 +1362,16 @@ gst_discoverer_discover_uri (GstDiscoverer * discoverer, const gchar * uri,
/**
* gst_discoverer_new:
- * @timeout: The timeout to set on the discoverer
+ * @timeout: timeout per file, in nanoseconds. Allowed are values between
+ * one second (#GST_SECOND) and one hour (3600 * #GST_SECOND)
* @err: a pointer to a #GError. can be %NULL
*
* Creates a new #GstDiscoverer with the provided timeout.
*
* Returns: The new #GstDiscoverer. Free with gst_object_unref() when done.
- * If an error happened when creating the discoverer, @err will be set accordingly
- * and %NULL will be returned.
+ * If an error happened when creating the discoverer, @err will be set
+ * accordingly and %NULL will be returned. If @err is set, the caller must
+ * free it when no longer needed using g_error_free().
*
* Since: 0.10.31
*/