rtpjitterbuffer: fix wake-up when new buffers come in after running empty

Spotted by 'gratias' on IRC. Probably introduced in recent refactoring.

https://bugzilla.gnome.org/show_bug.cgi?id=715039
This commit is contained in:
Tim-Philipp Müller 2013-11-25 00:34:21 +00:00
parent 643e6fdc36
commit 901ec63462

View file

@ -2123,7 +2123,7 @@ gst_rtp_jitter_buffer_chain (GstPad * pad, GstObject * parent,
do_handle_sync (jitterbuffer);
/* signal addition of new buffer when the _loop is waiting. */
if (priv->active && priv->waiting_timer)
if (priv->active)
JBUF_SIGNAL_EVENT (priv);
/* let's unschedule and unblock any waiting buffers. We only want to do this