[vlc-commits] httplive: max delay is 1.5 on refresh as stated on rfc draft

Ilkka Ollakka git at videolan.org
Fri Aug 16 15:01:16 CEST 2013


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Aug  5 19:30:06 2013 +0300| [f6d867eb971f79c507532661d4676db44e8d6830] | committer: Ilkka Ollakka

httplive: max delay is 1.5 on refresh as stated on rfc draft

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6d867eb971f79c507532661d4676db44e8d6830
---

 modules/stream_filter/httplive.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 0bd2546..08aa9cf 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -1682,7 +1682,7 @@ static void* hls_Reload(void *p_this)
                 p_sys->playlist.tries++;
                 if (p_sys->playlist.tries == 1) wait = 0.5;
                 else if (p_sys->playlist.tries == 2) wait = 1;
-                else if (p_sys->playlist.tries >= 3) wait = 2;
+                else if (p_sys->playlist.tries >= 3) wait = 1.5;
 
                 /* Can we afford to backoff? */
                 if (p_sys->download.segment - p_sys->playback.segment < 3)



More information about the vlc-commits mailing list