mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
jitterbuffer: release lock before pushing EOS
Make sure we release the jitterbuffer lock before we start pushing out data because else we might deadlock.
This commit is contained in:
parent
918c9448f2
commit
cbad89600c
1 changed files with 1 additions and 1 deletions
|
@ -1653,8 +1653,8 @@ do_eos:
|
|||
GST_DEBUG_OBJECT (jitterbuffer, "We are EOS, pushing EOS downstream");
|
||||
priv->srcresult = GST_FLOW_UNEXPECTED;
|
||||
gst_pad_pause_task (priv->srcpad);
|
||||
gst_pad_push_event (priv->srcpad, gst_event_new_eos ());
|
||||
JBUF_UNLOCK (priv);
|
||||
gst_pad_push_event (priv->srcpad, gst_event_new_eos ());
|
||||
return;
|
||||
}
|
||||
do_npt_stop:
|
||||
|
|
Loading…
Reference in a new issue