mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
Revert "rtpjitterbuffer: don't forget to unlock mutex in error code path in two cases"
This reverts commit a7fb7b5359
.
The mutex is taken by the caller, we should keep it locked when returning so
the caller can unlock it again.
This commit is contained in:
parent
4065fcb80a
commit
b6e10be278
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue