[vlc-commits] demux:adaptive: last_duration is an mtime_t

Steve Lhomme git at videolan.org
Thu Jun 14 16:40:47 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun 11 15:04:14 2018 +0200| [cd628d827267c2501ab2ecb146128eb37a486c35] | committer: Steve Lhomme

demux:adaptive: last_duration is an mtime_t

Converted using to the segment timescale SegmentTracker::getNextChunk().

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

 modules/demux/adaptive/logic/PredictiveAdaptationLogic.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptive/logic/PredictiveAdaptationLogic.hpp b/modules/demux/adaptive/logic/PredictiveAdaptationLogic.hpp
index 4248f1a40f..e6e1807440 100644
--- a/modules/demux/adaptive/logic/PredictiveAdaptationLogic.hpp
+++ b/modules/demux/adaptive/logic/PredictiveAdaptationLogic.hpp
@@ -41,7 +41,7 @@ namespace adaptive
                 mtime_t buffering_level;
                 mtime_t buffering_target;
                 unsigned last_download_rate;
-                unsigned last_duration;
+                mtime_t last_duration;
                 MovingAverage<unsigned> average;
         };
 



More information about the vlc-commits mailing list