if (GST_EVENT_TYPE (event) == GST_EVENT_FLUSH_START) {
GST_OBJECT_LOCK (identity);
identity->flushing = TRUE;
- g_cond_broadcast (&identity->blocked_cond);
+ g_cond_signal (&identity->blocked_cond);
if (identity->clock_id) {
GST_DEBUG_OBJECT (identity, "unlock clock wait");
gst_clock_id_unschedule (identity->clock_id);
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
GST_OBJECT_LOCK (identity);
identity->blocked = FALSE;
- g_cond_broadcast (&identity->blocked_cond);
+ g_cond_signal (&identity->blocked_cond);
GST_OBJECT_UNLOCK (identity);
break;
case GST_STATE_CHANGE_PAUSED_TO_READY:
gst_clock_id_unschedule (identity->clock_id);
}
identity->blocked = FALSE;
- g_cond_broadcast (&identity->blocked_cond);
+ g_cond_signal (&identity->blocked_cond);
GST_OBJECT_UNLOCK (identity);
break;
default: