[MOVED FROM GST-P-FARSIGHT] Use g_cond_broadcast instead of g_cond_signal

20080428234935-4f0f6-e51fab31772b32f2fb080ad70c6bedefc5c26dc6.gz
This commit is contained in:
Youness Alaoui 2008-04-28 23:49:35 +00:00 committed by Edward Hervey
parent 2f5fd70ad8
commit 806f8e05c6

View file

@ -550,7 +550,7 @@ gst_live_adder_sink_event (GstPad * pad, GstEvent * event)
if (ret && !padprivate->eos) {
GST_DEBUG_OBJECT (adder, "queuing EOS");
padprivate->eos = TRUE;
g_cond_signal (adder->not_empty_cond);
g_cond_broadcast (adder->not_empty_cond);
} else if (padprivate->eos) {
GST_DEBUG_OBJECT (adder, "dropping EOS, we are already EOS");
} else {
@ -943,7 +943,7 @@ gst_live_live_adder_chain (GstPad *pad, GstBuffer *buffer)
skip += mix_duration;
}
g_cond_signal (adder->not_empty_cond);
g_cond_broadcast (adder->not_empty_cond);
if (skip == GST_BUFFER_DURATION (buffer)) {
gst_buffer_unref (buffer);