Commit b6e10be2 authored by Sebastian Dröge's avatar Sebastian Dröge

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

This reverts commit a7fb7b53.

The mutex is taken by the caller, we should keep it locked when returning so
the caller can unlock it again.
parent 4065fcb8
......@@ -1730,7 +1730,6 @@ no_caps:
}
out_flushing:
{
JBUF_UNLOCK (jitterbuffer->priv);
GST_DEBUG_OBJECT (jitterbuffer, "we are flushing");
return GST_FLOW_FLUSHING;
}
......@@ -3052,7 +3051,6 @@ pop_and_push_next (GstRtpJitterBuffer * jitterbuffer, guint seqnum)
/* ERRORS */
out_flushing:
{
JBUF_UNLOCK (priv);
return priv->srcresult;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment