mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
downloadbuffer: return flow error on read error
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/821>
This commit is contained in:
parent
1dcdde9fdf
commit
a16492a61f
1 changed files with 1 additions and 1 deletions
|
@ -865,7 +865,7 @@ read_error:
|
|||
gst_buffer_unmap (buf, &info);
|
||||
if (*buffer == NULL)
|
||||
gst_buffer_unref (buf);
|
||||
return ret;
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue