diff options
author | Doug Nazar <nazard@nazar.ca> | 2021-05-07 06:00:07 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-05-14 16:36:57 +0300 |
commit | a16492a61f919c1e788020cc8644a713c2b96ba9 (patch) | |
tree | 6f0d9bc1bb8ce49ce3406047b35e0ecf30ead089 | |
parent | 1dcdde9fdf66780624eb88368996f0f52a7725e1 (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.c | 2 |
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; } } |