mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +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:
|
||||
{
|
||||
GST_DOWNLOAD_BUFFER_MUTEX_UNLOCK (dlbuf);
|
||||
gst_buffer_unmap (buffer, &info);
|
||||
gst_buffer_unref (buffer);
|
||||
GST_ELEMENT_ERROR (dlbuf, RESOURCE, WRITE,
|
||||
|
|
Loading…
Reference in a new issue