Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Nazar <nazard@nazar.ca>2021-05-07 06:00:07 +0300
committerTim-Philipp Müller <tim@centricular.com>2021-05-14 16:36:57 +0300
commita16492a61f919c1e788020cc8644a713c2b96ba9 (patch)
tree6f0d9bc1bb8ce49ce3406047b35e0ecf30ead089
parent1dcdde9fdf66780624eb88368996f0f52a7725e1 (diff)
downloadbuffer: return flow error on read error
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/821>
-rw-r--r--plugins/elements/gstdownloadbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/elements/gstdownloadbuffer.c b/plugins/elements/gstdownloadbuffer.c
index 5e11133e8b..784d9fa0b0 100644
--- a/plugins/elements/gstdownloadbuffer.c
+++ b/plugins/elements/gstdownloadbuffer.c
@@ -865,7 +865,7 @@ read_error:
gst_buffer_unmap (buf, &info);
if (*buffer == NULL)
gst_buffer_unref (buf);
- return ret;
+ return GST_FLOW_ERROR;
}
}