[vlc-commits] demux: adaptive: remove useless overload
Francois Cartegnie
git at videolan.org
Wed Jan 13 17:03:05 UTC 2021
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 8 15:09:25 2021 +0100| [3c099d21956adda9f7cfe5ab3363500b73795636] | committer: Francois Cartegnie
demux: adaptive: remove useless overload
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3c099d21956adda9f7cfe5ab3363500b73795636
---
modules/demux/adaptive/playlist/SegmentTemplate.cpp | 5 -----
modules/demux/adaptive/playlist/SegmentTemplate.h | 1 -
2 files changed, 6 deletions(-)
diff --git a/modules/demux/adaptive/playlist/SegmentTemplate.cpp b/modules/demux/adaptive/playlist/SegmentTemplate.cpp
index 173264000b..1c242aa419 100644
--- a/modules/demux/adaptive/playlist/SegmentTemplate.cpp
+++ b/modules/demux/adaptive/playlist/SegmentTemplate.cpp
@@ -149,11 +149,6 @@ Segment * SegmentTemplate::getMediaSegment(uint64_t number) const
return nullptr;
}
-InitSegment * SegmentTemplate::getInitSegment() const
-{
- return initialisationSegment.Get();
-}
-
Segment * SegmentTemplate::getNextMediaSegment(uint64_t i_pos,uint64_t *pi_newpos,
bool *pb_gap) const
{
diff --git a/modules/demux/adaptive/playlist/SegmentTemplate.h b/modules/demux/adaptive/playlist/SegmentTemplate.h
index 536f806680..389c11192d 100644
--- a/modules/demux/adaptive/playlist/SegmentTemplate.h
+++ b/modules/demux/adaptive/playlist/SegmentTemplate.h
@@ -61,7 +61,6 @@ namespace adaptive
virtual vlc_tick_t getMinAheadTime(uint64_t curnum) const override;
virtual Segment * getMediaSegment(uint64_t number) const override;
virtual Segment * getNextMediaSegment(uint64_t, uint64_t *, bool *) const override;
- virtual InitSegment *getInitSegment() const override;
virtual uint64_t getStartSegmentNumber() const override;
virtual bool getSegmentNumberByTime(vlc_tick_t time, uint64_t *ret) const override;
More information about the vlc-commits
mailing list