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
committerDoug Nazar <nazard@nazar.ca>2021-05-07 06:04:27 +0300
commit135f517ea376efd6b07f91ce738d262cb0458897 (patch)
treeb169f0d7339b6e7c0558f4d777bfc965c5593879
parent41ee497b908f89a2ea2f4122e8a16ba86c4a4fc6 (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.c2
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;
}
}