souphttpsrc: Don't drop final bytes of a range request
authorEdward Hervey <edward@centricular.com>
Tue, 12 Jul 2016 05:39:58 +0000 (07:39 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 12 Jul 2016 05:41:59 +0000 (07:41 +0200)
commit1d55fbce86e51a625ffc97c672e0728ffbadd1b1
tree3ceffbc7484bc5ac9a2281d9ea21f8a62e7613c6
parentab075b2013b7dbd0b5d2af4d0dd66705c6512130
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.
ext/soup/gstsouphttpsrc.c