diff options
Diffstat (limited to 'ext/soup/gstsouphttpsrc.c')
-rw-r--r-- | ext/soup/gstsouphttpsrc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c index 975692440..28642e359 100644 --- a/ext/soup/gstsouphttpsrc.c +++ b/ext/soup/gstsouphttpsrc.c @@ -1835,6 +1835,13 @@ done: goto retry; } } + + if (ret == GST_FLOW_FLUSHING) { + g_mutex_lock (&src->mutex); + src->retry_count = 0; + g_mutex_unlock (&src->mutex); + } + return ret; } |