mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
downloadbuffer: return flow error on read error
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/814>
This commit is contained in:
parent
41ee497b90
commit
135f517ea3
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,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