projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dcf1a4
)
rtpjitterbuffer: don't forget to unlock mutex in error code path in two cases
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 1 Mar 2016 14:14:02 +0000
(14:14 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 1 Mar 2016 14:14:36 +0000
(14:14 +0000)
gst/rtpmanager/gstrtpjitterbuffer.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/gstrtpjitterbuffer.c
b/gst/rtpmanager/gstrtpjitterbuffer.c
index
610eff2
..
7784bb2
100644
(file)
--- a/
gst/rtpmanager/gstrtpjitterbuffer.c
+++ b/
gst/rtpmanager/gstrtpjitterbuffer.c
@@
-1730,6
+1730,7
@@
no_caps:
}
out_flushing:
{
+ JBUF_UNLOCK (jitterbuffer->priv);
GST_DEBUG_OBJECT (jitterbuffer, "we are flushing");
return GST_FLOW_FLUSHING;
}
@@
-3051,6
+3052,7
@@
pop_and_push_next (GstRtpJitterBuffer * jitterbuffer, guint seqnum)
/* ERRORS */
out_flushing:
{
+ JBUF_UNLOCK (priv);
return priv->srcresult;
}
}