From 135f517ea376efd6b07f91ce738d262cb0458897 Mon Sep 17 00:00:00 2001 From: Doug Nazar Date: Thu, 6 May 2021 23:00:07 -0400 Subject: [PATCH] downloadbuffer: return flow error on read error Part-of: --- plugins/elements/gstdownloadbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/elements/gstdownloadbuffer.c b/plugins/elements/gstdownloadbuffer.c index 4dc96f1..b9d512b 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; } } -- 2.7.4