mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +00:00
downloadbuffer: unlock mutex in error case
This commit is contained in:
parent
d781d09d99
commit
64a1d4ad0b
1 changed files with 1 additions and 0 deletions
|
@ -1250,6 +1250,7 @@ out_seeking:
|
||||||
}
|
}
|
||||||
write_error:
|
write_error:
|
||||||
{
|
{
|
||||||
|
GST_DOWNLOAD_BUFFER_MUTEX_UNLOCK (dlbuf);
|
||||||
gst_buffer_unmap (buffer, &info);
|
gst_buffer_unmap (buffer, &info);
|
||||||
gst_buffer_unref (buffer);
|
gst_buffer_unref (buffer);
|
||||||
GST_ELEMENT_ERROR (dlbuf, RESOURCE, WRITE,
|
GST_ELEMENT_ERROR (dlbuf, RESOURCE, WRITE,
|
||||||
|
|
Loading…
Reference in a new issue