[vlc-commits] demux: hls: disable webvtt

Francois Cartegnie git at videolan.org
Tue Apr 30 15:32:39 CEST 2019


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

demux: hls: disable webvtt

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

(cherry picked from commit c04391dc232d171c2eb4b528351046f2ea4424b1)

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

 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 3f5d4dccb5..cf26d6f21d 100644
--- a/modules/demux/hls/HLSStreams.cpp
+++ b/modules/demux/hls/HLSStreams.cpp
@@ -142,11 +142,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;
+*/
 
         default:
         case StreamFormat::UNSUPPORTED:



More information about the vlc-commits mailing list