gstreamer: task: fix GST_TASK_BROADCAST

Tim Müller tpm at kemper.freedesktop.org
Thu Mar 17 16:48:47 PDT 2011


Module: gstreamer
Branch: master
Commit: 02d27de048ae7f30114f7a76ff964143413d0edf
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=02d27de048ae7f30114f7a76ff964143413d0edf

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Thu Mar 17 23:42:48 2011 +0000

task: fix GST_TASK_BROADCAST

Surprisingly enough, you can't "breadcast" on a GCond.

Spotted by Rune Sætre.

https://bugzilla.gnome.org/show_bug.cgi?id=645022

---

 gst/gsttask.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/gsttask.h b/gst/gsttask.h
index 279d530..2081815 100644
--- a/gst/gsttask.h
+++ b/gst/gsttask.h
@@ -99,7 +99,7 @@ typedef enum {
  *
  * Send a broadcast signal to all waiting task conds
  */
-#define GST_TASK_BROADCAST(task)        g_cond_breadcast(GST_TASK_GET_COND (task))
+#define GST_TASK_BROADCAST(task)        g_cond_broadcast(GST_TASK_GET_COND (task))
 
 /**
  * GST_TASK_GET_LOCK:



More information about the gstreamer-commits mailing list