[vlc-commits] demux: adaptive: use a custom Matroska demuxer that trust Cues entries

Steve Lhomme git at videolan.org
Mon Oct 5 08:39:30 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Oct  2 13:16:27 2020 +0200| [cf7a156a2bacce12d19b9686bb8f1f0fa0a5542c] | committer: Steve Lhomme

demux: adaptive: use a custom Matroska demuxer that trust Cues entries

If the Cues we read in adaptive streaming are incorrect, then the adaptive
streaming cannot work at all with those streams.

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

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

diff --git a/modules/demux/dash/DASHStream.cpp b/modules/demux/dash/DASHStream.cpp
index 6d83213c8a..cab215e74d 100644
--- a/modules/demux/dash/DASHStream.cpp
+++ b/modules/demux/dash/DASHStream.cpp
@@ -47,7 +47,7 @@ AbstractDemuxer *DASHStream::newDemux(vlc_object_t *p_obj, const StreamFormat &f
             break;
 
         case StreamFormat::WEBM:
-            ret = new Demuxer(p_obj, "mkv", out, source);
+            ret = new Demuxer(p_obj, "mkv_trusted", out, source);
             break;
 
         case StreamFormat::WEBVTT:



More information about the vlc-commits mailing list