vlc | branch: master | Francois Cartegnie <[email protected]> | Sun Sep  6 
20:45:37 2015 +0200| [9488d2fc8c84dc307e2b2f2fc68844e6f15d91c2] | committer: 
Francois Cartegnie

demux: hls: extend probing to 8K

Will never end, because the only tags permitting
differentiation from raw M3U only comes last in the playlist.

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

 modules/demux/hls/HLSManager.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/hls/HLSManager.cpp b/modules/demux/hls/HLSManager.cpp
index c193285..490dcbb 100644
--- a/modules/demux/hls/HLSManager.cpp
+++ b/modules/demux/hls/HLSManager.cpp
@@ -54,7 +54,7 @@ bool HLSManager::isHTTPLiveStreaming(stream_t *s)
     if (size < 7 || memcmp(peek, "#EXTM3U", 7))
         return false;
 
-    size = stream_Peek(s, &peek, 512);
+    size = stream_Peek(s, &peek, 8192);
     if (size < 7)
         return false;
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to