Commit cbad8960 authored by Wim Taymans's avatar Wim Taymans Committed by Tim-Philipp Müller
Browse files

jitterbuffer: release lock before pushing EOS

Make sure we release the jitterbuffer lock before we start pushing out data
because else we might deadlock.
parent 918c9448
......@@ -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 ());
gst_pad_push_event (priv->srcpad, gst_event_new_eos ());
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