[vlc-commits] demux:adaptive: fix the getMinAheadScaledTime definition to match the declaration

Steve Lhomme git at videolan.org
Tue Sep 18 13:53:20 CEST 2018


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

demux:adaptive: fix the getMinAheadScaledTime definition to match the declaration

It does output an stime_t.

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

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

diff --git a/modules/demux/adaptive/playlist/SegmentTimeline.cpp b/modules/demux/adaptive/playlist/SegmentTimeline.cpp
index eabc4e6fdc..2b64aafc20 100644
--- a/modules/demux/adaptive/playlist/SegmentTimeline.cpp
+++ b/modules/demux/adaptive/playlist/SegmentTimeline.cpp
@@ -62,7 +62,7 @@ void SegmentTimeline::addElement(uint64_t number, stime_t d, uint64_t r, stime_t
     }
 }
 
-vlc_tick_t SegmentTimeline::getMinAheadScaledTime(uint64_t number) const
+stime_t SegmentTimeline::getMinAheadScaledTime(uint64_t number) const
 {
     stime_t totalscaledtime = 0;
 



More information about the vlc-commits mailing list