diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-04-15 17:25:02 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-04-15 17:25:02 +0200 |
commit | 87da61f9653614527562ba5dfe89969846df1b01 (patch) | |
tree | 90f94642857ec17119fb5fa7c2a40456afa51e96 /gst/rtpmanager | |
parent | e539615c790ab9cdc2de647a3786e706a89c04d5 (diff) | |
download | gst-plugins-bad-87da61f9653614527562ba5dfe89969846df1b01.tar.gz gst-plugins-bad-87da61f9653614527562ba5dfe89969846df1b01.tar.bz2 gst-plugins-bad-87da61f9653614527562ba5dfe89969846df1b01.zip |
jitterbuffer: release lock before pushing EOS
Make sure we release the jitterbuffer lock before we start pushing out data
because else we might deadlock.
Diffstat (limited to 'gst/rtpmanager')
-rw-r--r-- | gst/rtpmanager/gstrtpjitterbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 0fa23959..6dcd2db5 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -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: |