vlc | branch: master | Francois Cartegnie <[email protected]> | Thu May 19 
19:10:11 2016 +0200| [fdac7a03e9d0a7a210fbf81a2a9b1298e8c9ec7f] | committer: 
Francois Cartegnie

adaptive: schedule update against next segment time

avoids stalled playback when playback starts from end
of list.

refs http://rt-a.akamaihd.net/ch_01@325605/480p.m3u8

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

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

diff --git a/modules/demux/adaptive/SegmentTracker.cpp 
b/modules/demux/adaptive/SegmentTracker.cpp
index ae6bc65..118a417 100644
--- a/modules/demux/adaptive/SegmentTracker.cpp
+++ b/modules/demux/adaptive/SegmentTracker.cpp
@@ -164,7 +164,7 @@ SegmentChunk * SegmentTracker::getNextChunk(bool 
switch_allowed, HTTPConnectionM
     {
         if(!rep->consistentSegmentNumber())
             curRepresentation->pruneBySegmentNumber(curNumber);
-        curRepresentation->scheduleNextUpdate(curNumber);
+        curRepresentation->scheduleNextUpdate(next);
     }
 
     if(!init_sent)

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to