summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-03-09 10:05:14 +0100
committerSebastian Dröge <sebastian@centricular.com>2015-03-09 10:05:14 +0100
commit38bf3d3808f13b604f979900f03d9fdb0cf40cfc (patch)
treef780875e0958fc6cd012d2f6c9df386a56597cbd /gst
parent3751c87f00a613821e9a1b7e9e809ef70960e67b (diff)
rtpjitterbuffer: Don't forget to unlock the mutex when receiving GAPs in TCP streams
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmanager/gstrtpjitterbuffer.c3
1 files changed, 2 insertions, 1 deletions
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;
}
}