gstreamer/ext
Michael Olbrich 8666b7d871 souphttpsrc: reset read_position when reading fails
souphttpsrc maintains two variables for the position:
 * 'request_position' is where we want to be
 * 'read_position' is where we are
During Normal operations both are updated in sync when data arrives. A seek
changes 'request_position' but not 'read_position'.
When the two positions get out of sync, then a new request is send and the
'Range' header is adjusted to the current 'request_position'.

Without this patch, if reading fails, then the source is destroyed. This
triggers a new request, but the range remains unchanged. As a result, the
old range is used and old data will be read.

Changing the 'read_position' to -1 makes it explicitly different from
'request_position' and as a result the 'Range' header is updated correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=773509
2016-10-26 16:57:28 +03:00
..
aalib good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
cairo Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00
dv dvdemux: Fix timestamping in reverse playback mode 2016-09-06 14:26:23 +03:00
flac Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00
gdk_pixbuf Use the new API to post flow ERROR messages on the bus 2016-08-26 19:23:26 -03:00
jack ext, gst: fix indentation 2016-09-15 09:53:07 +01:00
jpeg Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00
libcaca good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
libpng Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00
pulse pulsesrc: Don't negotiate to less than two segments 2016-09-25 01:20:14 +05:30
raw1394 good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
shout2 Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00
soup souphttpsrc: reset read_position when reading fails 2016-10-26 16:57:28 +03:00
speex Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00
taglib Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00
vpx meson: add unit tests 2016-09-26 14:31:09 +01:00
wavpack Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00
Makefile.am mikmod: remove ancient unported plugin 2015-06-25 10:06:07 +01:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00