mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
rtpjitterbuffer: don't forget to unlock mutex in error code path in two cases
This commit is contained in:
parent
5dcf1a4f69
commit
a7fb7b5359
1 changed files with 2 additions and 0 deletions
|
@ -1730,6 +1730,7 @@ no_caps:
|
||||||
}
|
}
|
||||||
out_flushing:
|
out_flushing:
|
||||||
{
|
{
|
||||||
|
JBUF_UNLOCK (jitterbuffer->priv);
|
||||||
GST_DEBUG_OBJECT (jitterbuffer, "we are flushing");
|
GST_DEBUG_OBJECT (jitterbuffer, "we are flushing");
|
||||||
return GST_FLOW_FLUSHING;
|
return GST_FLOW_FLUSHING;
|
||||||
}
|
}
|
||||||
|
@ -3051,6 +3052,7 @@ pop_and_push_next (GstRtpJitterBuffer * jitterbuffer, guint seqnum)
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
out_flushing:
|
out_flushing:
|
||||||
{
|
{
|
||||||
|
JBUF_UNLOCK (priv);
|
||||||
return priv->srcresult;
|
return priv->srcresult;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue