[vlc-commits] demux: adaptive: use buffered source stream

Francois Cartegnie git at videolan.org
Mon Apr 30 19:48:41 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Apr 30 18:29:38 2018 +0200| [c3869a48e14b875f0eb398fabcdd7088b949bd2b] | committer: Francois Cartegnie

demux: adaptive: use buffered source stream

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

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

diff --git a/modules/demux/adaptive/Streams.cpp b/modules/demux/adaptive/Streams.cpp
index 0cc195f0ce..4bded1ba70 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -64,7 +64,7 @@ bool AbstractStream::init(const StreamFormat &format_, SegmentTracker *tracker,
     if((unsigned)format_ == StreamFormat::UNSUPPORTED || demuxersource)
         return false;
 
-    demuxersource = new (std::nothrow) ChunksSourceStream( VLC_OBJECT(p_realdemux), this );
+    demuxersource = new (std::nothrow) BufferedChunksSourceStream( VLC_OBJECT(p_realdemux), this );
     if(demuxersource)
     {
         CommandsFactory *factory = new (std::nothrow) CommandsFactory();



More information about the vlc-commits mailing list