[vlc-devel] [PATCH] playlist: m3u: unbreak HLS
Zhao Zhili
quinkblack at foxmail.com
Thu Dec 14 11:06:38 CET 2017
Fix #19269
---
modules/demux/playlist/m3u.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/playlist/m3u.c b/modules/demux/playlist/m3u.c
index fa52fde..5c3645c 100644
--- a/modules/demux/playlist/m3u.c
+++ b/modules/demux/playlist/m3u.c
@@ -62,6 +62,7 @@ static bool IsHLS(const unsigned char *buf, size_t length)
"#EXT-X-VERSION:",
"#EXT-X-TARGETDURATION:",
"#EXT-X-MEDIA-SEQUENCE:",
+ "#EXT-X-STREAM-INF:",
};
for (size_t i = 0; i < ARRAY_SIZE(hlsexts); i++)
--
2.7.4
More information about the vlc-devel
mailing list