summaryrefslogtreecommitdiff
path: root/gst/gstbin.c
diff options
context:
space:
mode:
authorStefan Kost <ensonic@sonicpulse.de>2006-04-28 13:04:07 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-04-28 13:04:07 +0000
commit185188ab1337aa55dfaa26c9adc3e3b3178c2ac4 (patch)
treea5c2c62787a2ccb1e445ee9176dbe2beb7ad55c7 /gst/gstbin.c
parent7f3d2ce0186b4ae629cd0b4929152f5cdbb926d0 (diff)
gst/gstbin.c: Update docs.
Original commit message from CVS: Patch by: Stefan Kost <ensonic at sonicpulse dot de> * gst/gstbin.c: (gst_bin_handle_message_func): Update docs. Don't leak bin refcount when a state recalc is in progress and we delay another one #339808.
Diffstat (limited to 'gst/gstbin.c')
-rw-r--r--gst/gstbin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/gstbin.c b/gst/gstbin.c
index 03e067063..1ca83056a 100644
--- a/gst/gstbin.c
+++ b/gst/gstbin.c
@@ -141,13 +141,13 @@
* </variablelist>
*
* A #GstBin will by default forward any event sent to it to all sink elements.
- * If all the sinks return TRUE, the bin will also return TRUE. If no sinks are
- * in the bin, the event handler will return TRUE.
+ * If all the sinks return TRUE, the bin will also return TRUE, else FALSE is
+ * returned. If no sinks are in the bin, the event handler will return TRUE.
*
* </para>
* </refsect2>
*
- * Last reviewed on 2006-03-12 (0.10.5)
+ * Last reviewed on 2006-04-28 (0.10.6)
*/
#include "gst_private.h"
@@ -2065,9 +2065,9 @@ gst_bin_handle_message_func (GstBin * bin, GstMessage * message)
gst_message_unref (message);
klass = GST_BIN_GET_CLASS (bin);
- gst_object_ref (bin);
if (!bin->polling) {
GST_DEBUG_OBJECT (bin, "pushing recalc on thread pool");
+ gst_object_ref (bin);
g_thread_pool_push (klass->pool, bin, NULL);
} else {
GST_DEBUG_OBJECT (bin,