mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
[MOVED FROM GST-P-FARSIGHT] Use g_cond_broadcast instead of g_cond_signal
20080428234935-4f0f6-e51fab31772b32f2fb080ad70c6bedefc5c26dc6.gz
This commit is contained in:
parent
2f5fd70ad8
commit
806f8e05c6
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue