rtpjitterbuffer: don't forget to unlock mutex in error code path in two cases

This commit is contained in:
Tim-Philipp Müller 2016-03-01 14:14:02 +00:00
parent 5dcf1a4f69
commit a7fb7b5359

View file

@ -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;
}
}