mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
jitterbuffer: only signal loop when active
Only signal the loop function when it is active.
This commit is contained in:
parent
4bd2ffb26e
commit
8969f00661
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue