diff options
author | Doug Nazar <nazard@nazar.ca> | 2021-05-07 06:00:07 +0300 |
---|---|---|
committer | Doug Nazar <nazard@nazar.ca> | 2021-05-07 06:04:27 +0300 |
commit | 135f517ea376efd6b07f91ce738d262cb0458897 (patch) | |
tree | b169f0d7339b6e7c0558f4d777bfc965c5593879 | |
parent | 41ee497b908f89a2ea2f4122e8a16ba86c4a4fc6 (diff) |
downloadbuffer: return flow error on read error
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/814>
-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 4dc96f1131..b9d512b67f 100644 --- a/plugins/elements/gstdownloadbuffer.c +++ b/plugins/elements/gstdownloadbuffer.c @@ -868,7 +868,7 @@ read_error: gst_buffer_unmap (buf, &info); if (*buffer == NULL) gst_buffer_unref (buf); - return ret; + return GST_FLOW_ERROR; } } |