The soup http src changed the way it interprets the seek segment stop value.
Previously it was inclusive, now it is not (see commit
21c6da6764c0cd015e9f3c5eecba36e297187deb,
bug https://bugzilla.gnome.org/show_bug.cgi?id=748316)
Updated fake soup http src to also consider segment stop not inclusive.
https://bugzilla.gnome.org/show_bug.cgi?id=756322
- if (segment->stop != -1 && segment->stop + 1 > src->size) {
+ if (segment->stop != -1 && segment->stop > src->size) {
return FALSE;
}
src->position = segment->start;
if (segment->stop != -1) {
return FALSE;
}
src->position = segment->start;
if (segment->stop != -1) {
- src->segment_end = segment->stop + 1;
+ src->segment_end = segment->stop;