diff options
author | Wim Taymans <wtaymans@redhat.com> | 2017-03-10 10:12:49 +0100 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2017-03-10 10:12:49 +0100 |
commit | 64a1d4ad0bcc79b09ac0d0636927597ed50943c7 (patch) | |
tree | 2fcd51f01cc533a62fa79a7d9979ef75c20e002f /plugins/elements | |
parent | d781d09d99428b1626d76171868fe16c2cf8ede2 (diff) |
downloadbuffer: unlock mutex in error case
Diffstat (limited to 'plugins/elements')
-rw-r--r-- | plugins/elements/gstdownloadbuffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/elements/gstdownloadbuffer.c b/plugins/elements/gstdownloadbuffer.c index 335dc5436..36455ac24 100644 --- a/plugins/elements/gstdownloadbuffer.c +++ b/plugins/elements/gstdownloadbuffer.c @@ -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, |