[vlc-commits] demux:adaptive: fix the getScaledPlaybackTimeDurationBySegmentNumber prototype
Steve Lhomme
git at videolan.org
Tue Sep 18 13:53:17 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun 11 15:19:02 2018 +0200| [2e5f6036c32929250171161fdc0581389f6fe1fb] | committer: Steve Lhomme
demux:adaptive: fix the getScaledPlaybackTimeDurationBySegmentNumber prototype
It's given stime_t pointers, not vlc_tick_t and implemented as such.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e5f6036c32929250171161fdc0581389f6fe1fb
---
modules/demux/adaptive/playlist/SegmentTimeline.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptive/playlist/SegmentTimeline.h b/modules/demux/adaptive/playlist/SegmentTimeline.h
index c3cca660d5..927d268951 100644
--- a/modules/demux/adaptive/playlist/SegmentTimeline.h
+++ b/modules/demux/adaptive/playlist/SegmentTimeline.h
@@ -42,7 +42,7 @@ namespace adaptive
virtual ~SegmentTimeline();
void addElement(uint64_t, stime_t d, uint64_t r = 0, stime_t t = 0);
uint64_t getElementNumberByScaledPlaybackTime(stime_t) const;
- bool getScaledPlaybackTimeDurationBySegmentNumber(uint64_t, vlc_tick_t *, vlc_tick_t *) const;
+ bool getScaledPlaybackTimeDurationBySegmentNumber(uint64_t, stime_t *, stime_t *) const;
stime_t getScaledPlaybackTimeByElementNumber(uint64_t) const;
stime_t getMinAheadScaledTime(uint64_t) const;
uint64_t maxElementNumber() const;
More information about the vlc-commits
mailing list