souphttpsrc: Reset retry_count to 0 when GST_FLOW_FLUSHING
authorpaul.kim <paul.hyunil@lge.com>
Sat, 11 Nov 2017 04:49:22 +0000 (13:49 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 19 Jan 2018 09:40:07 +0000 (11:40 +0200)
commit129eecf0123b9ae467ee7033ec5b933941d73676
tree5ff1dd29974971736d17ea55d4caaa6da6baada8
parent54f312644e5240d10e089cbd65c5e8633c9d1b05
souphttpsrc: Reset retry_count to 0 when GST_FLOW_FLUSHING

If a lot of seek method is called very quickly, sometimes data reading
and do_request occurs while seek flush event is occurring and error
occurs because retry_count
reaches to the max. Thus, reset retry_count if flush occurs after
do_request and read_buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=790199
ext/soup/gstsouphttpsrc.c