From 38bf3d3808f13b604f979900f03d9fdb0cf40cfc Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Mon, 9 Mar 2015 10:05:14 +0100 Subject: rtpjitterbuffer: Don't forget to unlock the mutex when receiving GAPs in TCP streams --- gst/rtpmanager/gstrtpjitterbuffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gst') diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index ecb3f0654..badee50f3 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -2446,7 +2446,8 @@ gap_but_no_dts: GST_ELEMENT_ERROR (jitterbuffer, STREAM, DECODE, (NULL), ("Received packet without DTS after a gap")); gst_buffer_unref (buffer); - return GST_FLOW_ERROR; + ret = GST_FLOW_ERROR; + goto finished; } } -- cgit v1.2.3