Commit 8969f006 authored by Wim Taymans's avatar Wim Taymans

jitterbuffer: only signal loop when active

Only signal the loop function when it is active.
parent 4bd2ffb2
......@@ -1393,7 +1393,7 @@ gst_rtp_jitter_buffer_chain (GstPad * pad, GstObject * parent,
goto duplicate;
/* signal addition of new buffer when the _loop is waiting. */
if (priv->waiting)
if (priv->waiting && priv->active)
JBUF_SIGNAL (priv);
/* let's unschedule and unblock any waiting buffers. We only want to do this
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment