bin: remove old comment
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 7 Feb 2013 11:52:26 +0000 (12:52 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 7 Feb 2013 11:52:26 +0000 (12:52 +0100)
The iterators now return a GValue and not the object directly anymore.

gst/gstbin.c

index 14fa14d..6e6b0f8 100644 (file)
@@ -1600,9 +1600,6 @@ no_function:
  *
  * Gets an iterator for the elements in this bin.
  *
- * Each element yielded by the iterator will have its refcount increased, so
- * unref after use.
- *
  * MT safe.  Caller owns returned value.
  *
  * Returns: (transfer full): a #GstIterator of #GstElement, or NULL
@@ -1643,9 +1640,6 @@ iterate_child_recurse (GstIterator * it, const GValue * item)
  * Gets an iterator for the elements in this bin.
  * This iterator recurses into GstBin children.
  *
- * Each element yielded by the iterator will have its refcount increased, so
- * unref after use.
- *
  * MT safe.  Caller owns returned value.
  *
  * Returns: (transfer full): a #GstIterator of #GstElement, or NULL
@@ -1703,9 +1697,6 @@ sink_iterator_filter (const GValue * vchild, GValue * vbin)
  * Gets an iterator for all elements in the bin that have the
  * #GST_ELEMENT_FLAG_SINK flag set.
  *
- * Each element yielded by the iterator will have its refcount increased, so
- * unref after use.
- *
  * MT safe.  Caller owns returned value.
  *
  * Returns: (transfer full): a #GstIterator of #GstElement, or NULL
@@ -1766,9 +1757,6 @@ src_iterator_filter (const GValue * vchild, GValue * vbin)
  * Gets an iterator for all elements in the bin that have the
  * #GST_ELEMENT_FLAG_SOURCE flag set.
  *
- * Each element yielded by the iterator will have its refcount increased, so
- * unref after use.
- *
  * MT safe.  Caller owns returned value.
  *
  * Returns: (transfer full): a #GstIterator of #GstElement, or NULL
@@ -2032,8 +2020,7 @@ find_element (GstElement * element, GstBinSortIterator * bit)
   }
 }
 
-/* get next element in iterator. the returned element has the
- * refcount increased */
+/* get next element in iterator. */
 static GstIteratorResult
 gst_bin_sort_iterator_next (GstBinSortIterator * bit, GValue * result)
 {
@@ -2146,9 +2133,6 @@ gst_bin_sort_iterator_new (GstBin * bin)
  * This function is used internally to perform the state changes
  * of the bin elements and for clock selection.
  *
- * Each element yielded by the iterator will have its refcount increased, so
- * unref after use.
- *
  * MT safe.  Caller owns returned value.
  *
  * Returns: (transfer full): a #GstIterator of #GstElement, or NULL
@@ -4034,9 +4018,6 @@ gst_bin_get_by_interface (GstBin * bin, GType iface)
  * The function recurses inside child bins. The iterator will yield a series
  * of #GstElement that should be unreffed after use.
  *
- * Each element yielded by the iterator will have its refcount increased, so
- * unref after use.
- *
  * MT safe.  Caller owns returned value.
  *
  * Returns: (transfer full): a #GstIterator of #GstElement for all elements