[vlc-commits] demux: hls: disable webvtt

Francois Cartegnie git at videolan.org
Tue Apr 30 14:28:02 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr 24 16:39:38 2019 +0200| [c04391dc232d171c2eb4b528351046f2ea4424b1] | committer: Francois Cartegnie

demux: hls: disable webvtt

that really can't work due to empty segments
and be fixed without big changes

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

 modules/demux/hls/HLSStreams.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/hls/HLSStreams.cpp b/modules/demux/hls/HLSStreams.cpp
index cdd04a7645..af68129040 100644
--- a/modules/demux/hls/HLSStreams.cpp
+++ b/modules/demux/hls/HLSStreams.cpp
@@ -144,11 +144,13 @@ AbstractDemuxer *HLSStream::newDemux(demux_t *p_realdemux, const StreamFormat &f
             ret = AbstractStream::newDemux(p_realdemux, format, out, source);
             break;
 
+/* Disabled until we can handle empty segments/cue and absolute time
         case StreamFormat::WEBVTT:
             ret = new Demuxer(p_realdemux, "webvttstream", out, source);
             if(ret)
                 ret->setRestartsOnEachSegment(true);
             break;
+*/
 
         case StreamFormat::UNKNOWN:
             ret = new MimeDemuxer(p_realdemux, this, out, source);



More information about the vlc-commits mailing list