diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2016-03-01 14:14:02 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-03-01 14:14:36 +0000 |
commit | a7fb7b53592d87f7983544debb74d364fc3257ad (patch) | |
tree | 44d4a41d6aed06921f89e13c6e7ae29c329d86ff /gst/rtpmanager/gstrtpjitterbuffer.c | |
parent | 5dcf1a4f69b671e2c7f7a04f73fe0e4f0c27f857 (diff) |
rtpjitterbuffer: don't forget to unlock mutex in error code path in two cases
Diffstat (limited to 'gst/rtpmanager/gstrtpjitterbuffer.c')
-rw-r--r-- | gst/rtpmanager/gstrtpjitterbuffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 610eff210..7784bb287 100644 --- 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; } } |