gst/gstbin.c: Fix typo in docs.

Original commit message from CVS:
* gst/gstbin.c:
Fix typo in docs.

* gst/gstelement.c: (gst_element_commit_state):
Remove unused value.

* gst/gstiterator.c:
Mention that the returned element is reffed in the docs.
This commit is contained in:
Wim Taymans 2005-11-02 18:44:20 +00:00
parent feca07fdd7
commit 563477a64e
4 changed files with 16 additions and 6 deletions

View file

@ -1,3 +1,14 @@
2005-11-02 Wim Taymans <wim@fluendo.com>
* gst/gstbin.c:
Fix typo in docs.
* gst/gstelement.c: (gst_element_commit_state):
Remove unused value.
* gst/gstiterator.c:
Mention that the returned element is reffed in the docs.
2005-11-02 Wim Taymans <wim@fluendo.com>
* gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),

View file

@ -1277,7 +1277,7 @@ typedef struct _GstBinSortIterator
gint mode; /* adding or removing dependency */
GstElement *best; /* next element with least dependencies */
gint best_deg; /* best degree */
GHashTable *hash; /* has table with element dependencies */
GHashTable *hash; /* hashtable with element dependencies */
} GstBinSortIterator;
/* we add and subtract 1 to make sure we don't confuse NULL and 0 */

View file

@ -1861,9 +1861,6 @@ gst_element_commit_state (GstElement * element)
if (pending == current)
goto complete;
/* not there yet, will get there ASYNC */
ret = GST_STATE_CHANGE_ASYNC;
next = GST_STATE_GET_NEXT (current, pending);
transition = GST_STATE_TRANSITION (current, next);

View file

@ -227,9 +227,11 @@ gst_iterator_pop (GstIterator * it)
* @it: The #GstIterator to iterate
* @elem: pointer to hold next element
*
* Get the next item from the iterator.
* Get the next item from the iterator. For iterators that return
* objects derived from #GObject a refcounted object will be
* returned that should be unreffed after usage.
*
* Returns: The result of the iteration.
* Returns: The result of the iteration. Unref after usage.
*
* MT safe.
*/