projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab075b2
)
souphttpsrc: Don't drop final bytes of a range request
author
Edward Hervey
<edward@centricular.com>
Tue, 12 Jul 2016 05:39:58 +0000
(07:39 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 12 Jul 2016 05:41:59 +0000
(07:41 +0200)
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.
ext/soup/gstsouphttpsrc.c
patch
|
blob
|
history
diff --git
a/ext/soup/gstsouphttpsrc.c
b/ext/soup/gstsouphttpsrc.c
index
9af2672
..
9264c65
100644
(file)
--- a/
ext/soup/gstsouphttpsrc.c
+++ b/
ext/soup/gstsouphttpsrc.c
@@
-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 */