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

Ilkka Ollakka git at videolan.org
Sun Aug 18 21:43:44 CEST 2013


vlc/vlc-2.1 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Aug  5 19:30:06 2013 +0300| [1ad978095441579e85ae8eac0dd1490aa4cb6a62] | committer: Jean-Baptiste Kempf

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

(cherry picked from commit f6d867eb971f79c507532661d4676db44e8d6830)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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