rtpjitterbuffer: Don't forget to unlock the mutex when receiving GAPs in TCP streams
authorSebastian Dröge <sebastian@centricular.com>
Mon, 9 Mar 2015 09:05:14 +0000 (10:05 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 9 Mar 2015 09:05:14 +0000 (10:05 +0100)
gst/rtpmanager/gstrtpjitterbuffer.c

index ecb3f06..badee50 100644 (file)
@@ -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;
   }
 }