From 563477a64efbfc54578a6b059e5d9cd05bc92553 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 2 Nov 2005 18:44:20 +0000 Subject: [PATCH] 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. --- ChangeLog | 11 +++++++++++ gst/gstbin.c | 2 +- gst/gstelement.c | 3 --- gst/gstiterator.c | 6 ++++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 555592338f..6ee427c5d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2005-11-02 Wim Taymans + + * 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 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block), diff --git a/gst/gstbin.c b/gst/gstbin.c index 930fa1fe5a..cd701c7c26 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -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 */ diff --git a/gst/gstelement.c b/gst/gstelement.c index 770c691e12..4df21bf8de 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -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); diff --git a/gst/gstiterator.c b/gst/gstiterator.c index d2653d5773..7941366642 100644 --- a/gst/gstiterator.c +++ b/gst/gstiterator.c @@ -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. */