mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +00:00
GST_FLOW_UNEXPECTED -> GST_FLOW_EOS
This commit is contained in:
parent
4fa8cfd5c7
commit
f1d298a85b
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ gst_data_uri_src_create (GstBaseSrc * basesrc, guint64 offset, guint size,
|
|||
/* This is only correct because GstBaseSrc already clips size for us to be no
|
||||
* larger than the max. available size if a segment at the end is requested */
|
||||
if (offset + size > gst_buffer_get_size (src->buffer)) {
|
||||
ret = GST_FLOW_UNEXPECTED;
|
||||
ret = GST_FLOW_EOS;
|
||||
} else {
|
||||
ret = GST_FLOW_OK;
|
||||
*buf =
|
||||
|
|
Loading…
Reference in a new issue