jitterbuffer: only signal loop when active
Only signal the loop function when it is active.
This commit is contained in:
parent
4bd2ffb26e
commit
8969f00661
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user