mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
souphttpsrc: Don't drop final bytes of a range request
At the end of a range request, we don't want to return GST_FLOW_EOS otherwise the last bytes we just read will be dropped by basesrc. Instead just return GST_FLOW_OK (which was set just before) and let basesrc handle the fact we are at the end of the segment.
This commit is contained in:
parent
ab075b2013
commit
1d55fbce86
1 changed files with 0 additions and 1 deletions
|
@ -1654,7 +1654,6 @@ gst_soup_http_src_read_buffer (GstSoupHTTPSrc * src, GstBuffer ** outbuf)
|
|||
|
||||
g_object_unref (src->msg);
|
||||
src->msg = NULL;
|
||||
ret = GST_FLOW_EOS;
|
||||
src->have_body = TRUE;
|
||||
|
||||
/* This should return immediately as we're at the end of the range */
|
||||
|
|
Loading…
Reference in a new issue