diff --git a/modules/demux/adaptive/Streams.hpp b/modules/demux/adaptive/Streams.hpp index 3d7f5ccfd557ed987d6e7dac6af0b52371f59d35..b255642bb74f2541c12fa32869486e0447500c85 100644 --- a/modules/demux/adaptive/Streams.hpp +++ b/modules/demux/adaptive/Streams.hpp @@ -93,12 +93,12 @@ namespace adaptive void runUpdates(); /* Used by demuxers fake streams */ - virtual std::string getContentType(); /* impl */ - virtual block_t *readNextBlock(); /* impl */ + virtual std::string getContentType() override; + virtual block_t *readNextBlock() override; /**/ - virtual void fillExtraFMTInfo( es_format_t * ) const; /* impl */ - virtual void trackerEvent(const SegmentTrackerEvent &); /* impl */ + virtual void fillExtraFMTInfo( es_format_t * ) const override; + virtual void trackerEvent(const SegmentTrackerEvent &) override; protected: bool seekAble() const; @@ -106,7 +106,7 @@ namespace adaptive virtual block_t *checkBlock(block_t *, bool) = 0; AbstractDemuxer * createDemux(const StreamFormat &); virtual AbstractDemuxer * newDemux(vlc_object_t *, const StreamFormat &, - es_out_t *, AbstractSourceStream *) const; /* impl */ + es_out_t *, AbstractSourceStream *) const override; virtual bool startDemux(); virtual bool restartDemux(); diff --git a/modules/demux/adaptive/http/Chunk.h b/modules/demux/adaptive/http/Chunk.h index a5abfced8b165a5baff69af1e23607db01c23cf0..f88abfa9846047a1ec7ec3ed91567adc0f3ddb1d 100644 --- a/modules/demux/adaptive/http/Chunk.h +++ b/modules/demux/adaptive/http/Chunk.h @@ -94,10 +94,10 @@ namespace adaptive const ID &, bool = false); virtual ~HTTPChunkSource(); - virtual block_t * readBlock (); /* impl */ - virtual block_t * read (size_t); /* impl */ - virtual bool hasMoreData () const; /* impl */ - virtual std::string getContentType () const; /* reimpl */ + virtual block_t * readBlock () override; + virtual block_t * read (size_t) override; + virtual bool hasMoreData () const override; + virtual std::string getContentType () const override; static const size_t CHUNK_SIZE = 32768; @@ -124,14 +124,14 @@ namespace adaptive HTTPChunkBufferedSource(const std::string &url, AbstractConnectionManager *, const ID &, bool = false); virtual ~HTTPChunkBufferedSource(); - virtual block_t * readBlock (); /* reimpl */ - virtual block_t * read (size_t); /* reimpl */ - virtual bool hasMoreData () const; /* impl */ + virtual block_t * readBlock () override; + virtual block_t * read (size_t) override; + virtual bool hasMoreData () const override; void hold(); void release(); protected: - virtual bool prepare(); /* reimpl */ + virtual bool prepare() override; void bufferize(size_t); bool isDone() const; @@ -154,7 +154,7 @@ namespace adaptive virtual ~HTTPChunk(); protected: - virtual void onDownload (block_t **) {} /* impl */ + virtual void onDownload (block_t **) override {} }; } } diff --git a/modules/demux/adaptive/http/HTTPConnectionManager.h b/modules/demux/adaptive/http/HTTPConnectionManager.h index 478cf64ee5d1393181c0b197c718f4c6dd88c0b0..0bc44f4054cc759074ce72fe2ba5bf6aa52842b5 100644 --- a/modules/demux/adaptive/http/HTTPConnectionManager.h +++ b/modules/demux/adaptive/http/HTTPConnectionManager.h @@ -53,7 +53,7 @@ namespace adaptive virtual void start(AbstractChunkSource *) = 0; virtual void cancel(AbstractChunkSource *) = 0; - virtual void updateDownloadRate(const ID &, size_t, vlc_tick_t); /* impl */ + virtual void updateDownloadRate(const ID &, size_t, vlc_tick_t) override; void setDownloadRateObserver(IDownloadRateObserver *); protected: @@ -69,11 +69,11 @@ namespace adaptive HTTPConnectionManager (vlc_object_t *p_object); virtual ~HTTPConnectionManager (); - virtual void closeAllConnections () /* impl */; - virtual AbstractConnection * getConnection(ConnectionParams &) /* impl */; + virtual void closeAllConnections () override; + virtual AbstractConnection * getConnection(ConnectionParams &) override; - virtual void start(AbstractChunkSource *) /* impl */; - virtual void cancel(AbstractChunkSource *) /* impl */; + virtual void start(AbstractChunkSource *) override; + virtual void cancel(AbstractChunkSource *) override; void setLocalConnectionsAllowed(); void addFactory(AbstractConnectionFactory *); diff --git a/modules/demux/adaptive/logic/BufferingLogic.hpp b/modules/demux/adaptive/logic/BufferingLogic.hpp index b9d19fecf0d54f248aff720b74a0bc345c1525c9..56d9d8123223a06f12d0217af20d9e62744cedae 100644 --- a/modules/demux/adaptive/logic/BufferingLogic.hpp +++ b/modules/demux/adaptive/logic/BufferingLogic.hpp @@ -67,10 +67,10 @@ namespace adaptive public: DefaultBufferingLogic(); virtual ~DefaultBufferingLogic() {} - virtual uint64_t getStartSegmentNumber(BaseRepresentation *) const; /* impl */ - virtual vlc_tick_t getMinBuffering(const BasePlaylist *) const; /* impl */ - virtual vlc_tick_t getMaxBuffering(const BasePlaylist *) const; /* impl */ - virtual vlc_tick_t getLiveDelay(const BasePlaylist *) const; /* impl */ + virtual uint64_t getStartSegmentNumber(BaseRepresentation *) const override; + virtual vlc_tick_t getMinBuffering(const BasePlaylist *) const override; + virtual vlc_tick_t getMaxBuffering(const BasePlaylist *) const override; + virtual vlc_tick_t getLiveDelay(const BasePlaylist *) const override; static const unsigned SAFETY_BUFFERING_EDGE_OFFSET; static const unsigned SAFETY_EXPURGING_OFFSET; diff --git a/modules/demux/adaptive/logic/NearOptimalAdaptationLogic.hpp b/modules/demux/adaptive/logic/NearOptimalAdaptationLogic.hpp index 639641ab80ced4baae53f169d675099fe51f33b3..327ca696cf276bdaf97546dde7efb036091cef71 100644 --- a/modules/demux/adaptive/logic/NearOptimalAdaptationLogic.hpp +++ b/modules/demux/adaptive/logic/NearOptimalAdaptationLogic.hpp @@ -51,8 +51,8 @@ namespace adaptive virtual ~NearOptimalAdaptationLogic(); virtual BaseRepresentation* getNextRepresentation(BaseAdaptationSet *, BaseRepresentation *); - virtual void updateDownloadRate (const ID &, size_t, vlc_tick_t); /* reimpl */ - virtual void trackerEvent (const SegmentTrackerEvent &); /* reimpl */ + virtual void updateDownloadRate (const ID &, size_t, vlc_tick_t) override; + virtual void trackerEvent (const SegmentTrackerEvent &) override; private: BaseRepresentation * getNextQualityIndex( BaseAdaptationSet *, RepresentationSelector &, diff --git a/modules/demux/adaptive/logic/PredictiveAdaptationLogic.hpp b/modules/demux/adaptive/logic/PredictiveAdaptationLogic.hpp index 958e25dcfe1ebe8594077c5ffaca10cc7229f48d..db7ff0f94da5c0e5a8fa5758231e1e87807dd68f 100644 --- a/modules/demux/adaptive/logic/PredictiveAdaptationLogic.hpp +++ b/modules/demux/adaptive/logic/PredictiveAdaptationLogic.hpp @@ -52,8 +52,8 @@ namespace adaptive virtual ~PredictiveAdaptationLogic(); virtual BaseRepresentation* getNextRepresentation(BaseAdaptationSet *, BaseRepresentation *); - virtual void updateDownloadRate (const ID &, size_t, vlc_tick_t); /* reimpl */ - virtual void trackerEvent (const SegmentTrackerEvent &); /* reimpl */ + virtual void updateDownloadRate (const ID &, size_t, vlc_tick_t) override; + virtual void trackerEvent (const SegmentTrackerEvent &) override; private: unsigned getAvailableBw(unsigned, const BaseRepresentation *) const; diff --git a/modules/demux/adaptive/logic/RateBasedAdaptationLogic.h b/modules/demux/adaptive/logic/RateBasedAdaptationLogic.h index 929226eb39d26a530d34db3feb7000031053d170..b21b29e727e23ffe0860c4604e444832b66acba2 100644 --- a/modules/demux/adaptive/logic/RateBasedAdaptationLogic.h +++ b/modules/demux/adaptive/logic/RateBasedAdaptationLogic.h @@ -40,8 +40,8 @@ namespace adaptive virtual ~RateBasedAdaptationLogic (); BaseRepresentation *getNextRepresentation(BaseAdaptationSet *, BaseRepresentation *); - virtual void updateDownloadRate(const ID &, size_t, vlc_tick_t); /* reimpl */ - virtual void trackerEvent(const SegmentTrackerEvent &); /* reimpl */ + virtual void updateDownloadRate(const ID &, size_t, vlc_tick_t) override; + virtual void trackerEvent(const SegmentTrackerEvent &) override; private: size_t bpsAvg; diff --git a/modules/demux/adaptive/playlist/BasePeriod.h b/modules/demux/adaptive/playlist/BasePeriod.h index b8f326ba88e11549296e1786d1b6d85b2cf2afe9..3d9b81571f5dbeb90c614fb556374fb40ff9ddc1 100644 --- a/modules/demux/adaptive/playlist/BasePeriod.h +++ b/modules/demux/adaptive/playlist/BasePeriod.h @@ -45,9 +45,9 @@ namespace adaptive void addAdaptationSet (BaseAdaptationSet *AdaptationSet); void debug (vlc_object_t *,int = 0) const; - virtual vlc_tick_t getPeriodStart() const; /* reimpl */ + virtual vlc_tick_t getPeriodStart() const override; virtual vlc_tick_t getPeriodDuration() const; - virtual BasePlaylist *getPlaylist() const; /* reimpl */ + virtual BasePlaylist *getPlaylist() const override; Property<vlc_tick_t> duration; Property<vlc_tick_t> startTime; diff --git a/modules/demux/adaptive/playlist/BasePlaylist.hpp b/modules/demux/adaptive/playlist/BasePlaylist.hpp index e501767b11d833e02b8a4bd84e603f9652a95868..34a08e12e3f8721efeaf604e0e001e853f3e9410 100644 --- a/modules/demux/adaptive/playlist/BasePlaylist.hpp +++ b/modules/demux/adaptive/playlist/BasePlaylist.hpp @@ -55,7 +55,7 @@ namespace adaptive void addBaseUrl (const std::string &); void setPlaylistUrl (const std::string &); - virtual Url getUrlSegment() const; /* impl */ + virtual Url getUrlSegment() const override; vlc_object_t * getVLCObject() const; virtual const std::vector<BasePeriod *>& getPeriods(); diff --git a/modules/demux/adaptive/playlist/Segment.h b/modules/demux/adaptive/playlist/Segment.h index c35f2eec2377f77137a73a0d16c50dcf813082f9..39166dc7ee67687a2e43cba9b02860888e44c05d 100644 --- a/modules/demux/adaptive/playlist/Segment.h +++ b/modules/demux/adaptive/playlist/Segment.h @@ -96,9 +96,9 @@ namespace adaptive public: Segment( ICanonicalUrl *parent ); ~Segment(); - virtual SegmentChunk* createChunk(AbstractChunkSource *, BaseRepresentation *); /* impl */ + virtual SegmentChunk* createChunk(AbstractChunkSource *, BaseRepresentation *) override; virtual void setSourceUrl( const std::string &url ); - virtual Url getUrlSegment() const; /* impl */ + virtual Url getUrlSegment() const override; virtual const std::vector<Segment*> & subSegments() const; virtual void debug(vlc_object_t *,int = 0) const; virtual void addSubSegment(SubSegment *); diff --git a/modules/demux/adaptive/playlist/SegmentBase.h b/modules/demux/adaptive/playlist/SegmentBase.h index 5ab93704d8b85a79c2223c9bd12a720a054a0405..1f4aaab94658875ea4fe36cbf20f5b54f1fefb78 100644 --- a/modules/demux/adaptive/playlist/SegmentBase.h +++ b/modules/demux/adaptive/playlist/SegmentBase.h @@ -43,16 +43,16 @@ namespace adaptive SegmentBase (SegmentInformation * = nullptr); virtual ~SegmentBase (); - virtual vlc_tick_t getMinAheadTime(uint64_t curnum) const; /* impl */ - virtual Segment *getMediaSegment(uint64_t number) const; /* impl */ - virtual Segment *getNextMediaSegment(uint64_t, uint64_t *, bool *) const; /* impl */ - virtual uint64_t getStartSegmentNumber() const; /* impl */ + 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 uint64_t getStartSegmentNumber() const override; - virtual bool getSegmentNumberByTime(vlc_tick_t time, uint64_t *ret) const; /* impl */ + virtual bool getSegmentNumberByTime(vlc_tick_t time, uint64_t *ret) const override; virtual bool getPlaybackTimeDurationBySegmentNumber(uint64_t number, - vlc_tick_t *time, vlc_tick_t *duration) const; /* impl */ + vlc_tick_t *time, vlc_tick_t *duration) const override; - virtual void debug(vlc_object_t *,int = 0) const; /* reimpl */ + virtual void debug(vlc_object_t *,int = 0) const override; protected: SegmentInformation *parent; diff --git a/modules/demux/adaptive/playlist/SegmentChunk.hpp b/modules/demux/adaptive/playlist/SegmentChunk.hpp index 2c683b098a76b8cfb5ab7acd20ea0b6eea92af23..db1798aab8c76a0845e3a0e3391d989764589a2c 100644 --- a/modules/demux/adaptive/playlist/SegmentChunk.hpp +++ b/modules/demux/adaptive/playlist/SegmentChunk.hpp @@ -50,7 +50,7 @@ namespace adaptive protected: bool decrypt(block_t **); - virtual void onDownload(block_t **); /* impl */ + virtual void onDownload(block_t **) override; BaseRepresentation *rep; CommonEncryptionSession *encryptionSession; }; diff --git a/modules/demux/adaptive/playlist/SegmentInformation.hpp b/modules/demux/adaptive/playlist/SegmentInformation.hpp index 081badb2140e2713d7cf002140d5e61104d4c8f4..ac7976b965cdd0073504c7084b0334368b20747a 100644 --- a/modules/demux/adaptive/playlist/SegmentInformation.hpp +++ b/modules/demux/adaptive/playlist/SegmentInformation.hpp @@ -87,7 +87,7 @@ namespace adaptive AbstractSegmentBaseType *getProfile() const; void updateSegmentList(SegmentList *, bool = false); void setSegmentTemplate(SegmentTemplate *); - virtual Url getUrlSegment() const; /* impl */ + virtual Url getUrlSegment() const override; Property<Url *> baseUrl; const AbstractSegmentBaseType * inheritSegmentProfile() const; diff --git a/modules/demux/adaptive/playlist/SegmentList.h b/modules/demux/adaptive/playlist/SegmentList.h index f3b943f5cd86ef7e7cdf650e920cbf5843be3d62..4e22809bb728f0bd796f41a4c5c06c74c516fe0c 100644 --- a/modules/demux/adaptive/playlist/SegmentList.h +++ b/modules/demux/adaptive/playlist/SegmentList.h @@ -44,20 +44,20 @@ namespace adaptive const std::vector<Segment *>& getSegments() const; void addSegment(Segment *seg); virtual void updateWith(AbstractMultipleSegmentBaseType *, - bool = false); /* reimpl */ + bool = false) override; void pruneBySegmentNumber(uint64_t); void pruneByPlaybackTime(vlc_tick_t); stime_t getTotalLength() const; - virtual vlc_tick_t getMinAheadTime(uint64_t) const; /* impl */ - virtual Segment * getMediaSegment(uint64_t pos) const; /* impl */ - virtual Segment * getNextMediaSegment(uint64_t, uint64_t *, bool *) const; /* impl */ - virtual uint64_t getStartSegmentNumber() const; /* impl */ - virtual bool getSegmentNumberByTime(vlc_tick_t time, uint64_t *ret) const; /* impl */ + virtual vlc_tick_t getMinAheadTime(uint64_t) const override; + virtual Segment * getMediaSegment(uint64_t pos) const override; + virtual Segment * getNextMediaSegment(uint64_t, uint64_t *, bool *) const override; + virtual uint64_t getStartSegmentNumber() const override; + virtual bool getSegmentNumberByTime(vlc_tick_t time, uint64_t *ret) const override; virtual bool getPlaybackTimeDurationBySegmentNumber(uint64_t number, - vlc_tick_t *time, vlc_tick_t *duration) const; /* impl */ + vlc_tick_t *time, vlc_tick_t *duration) const override; - virtual void debug(vlc_object_t *, int = 0) const; /* reimpl */ + virtual void debug(vlc_object_t *, int = 0) const override; private: std::vector<Segment *> segments; diff --git a/modules/demux/adaptive/playlist/SegmentTemplate.h b/modules/demux/adaptive/playlist/SegmentTemplate.h index 63f2a107fc4e1808077ceb8d863f2d85825e6d58..536f806680acde9f27985bc78e9292fd2518d7a3 100644 --- a/modules/demux/adaptive/playlist/SegmentTemplate.h +++ b/modules/demux/adaptive/playlist/SegmentTemplate.h @@ -41,7 +41,7 @@ namespace adaptive public: SegmentTemplateSegment( ICanonicalUrl * = nullptr ); virtual ~SegmentTemplateSegment(); - virtual void setSourceUrl( const std::string &url ); /* reimpl */ + virtual void setSourceUrl( const std::string &url ) override; void setParentTemplate( SegmentTemplate * ); protected: @@ -58,17 +58,17 @@ namespace adaptive void pruneByPlaybackTime(vlc_tick_t); size_t pruneBySequenceNumber(uint64_t); - virtual vlc_tick_t getMinAheadTime(uint64_t curnum) const; /* impl */ - virtual Segment * getMediaSegment(uint64_t number) const; /* impl */ - virtual Segment * getNextMediaSegment(uint64_t, uint64_t *, bool *) const; /* impl */ - virtual InitSegment *getInitSegment() const;/* reimpl */ - virtual uint64_t getStartSegmentNumber() const; /* impl */ + 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; /* impl */ + virtual bool getSegmentNumberByTime(vlc_tick_t time, uint64_t *ret) const override; virtual bool getPlaybackTimeDurationBySegmentNumber(uint64_t number, - vlc_tick_t *time, vlc_tick_t *duration) const; /* impl */ + vlc_tick_t *time, vlc_tick_t *duration) const override; - virtual void debug(vlc_object_t *, int = 0) const; /* reimpl */ + virtual void debug(vlc_object_t *, int = 0) const override; protected: SegmentInformation *parentSegmentInformation; @@ -80,7 +80,7 @@ namespace adaptive public: SegmentTemplateInit( SegmentTemplate *, ICanonicalUrl * = nullptr ); virtual ~SegmentTemplateInit(); - virtual void setSourceUrl( const std::string &url ); /* reimpl */ + virtual void setSourceUrl( const std::string &url ) override; protected: const SegmentTemplate *templ; diff --git a/modules/demux/adaptive/plumbing/Demuxer.hpp b/modules/demux/adaptive/plumbing/Demuxer.hpp index b6ea1380fe6f70f345054d506824b458dd454376..38d85300dc8471a42ac86aca92d5eb2a8aa4f4be 100644 --- a/modules/demux/adaptive/plumbing/Demuxer.hpp +++ b/modules/demux/adaptive/plumbing/Demuxer.hpp @@ -65,10 +65,10 @@ namespace adaptive MimeDemuxer(vlc_object_t *, const DemuxerFactoryInterface *, es_out_t *, AbstractSourceStream *); virtual ~MimeDemuxer(); - virtual Status demux(vlc_tick_t); /* impl */ - virtual void drain(); /* impl */ - virtual bool create(); /* impl */ - virtual void destroy(); /* impl */ + virtual Status demux(vlc_tick_t) override; + virtual void drain() override; + virtual bool create() override; + virtual void destroy() override; protected: AbstractSourceStream *sourcestream; @@ -83,10 +83,10 @@ namespace adaptive public: Demuxer(vlc_object_t *, const std::string &, es_out_t *, AbstractSourceStream *); virtual ~Demuxer(); - virtual Status demux(vlc_tick_t); /* impl */ - virtual void drain(); /* impl */ - virtual bool create(); /* impl */ - virtual void destroy(); /* impl */ + virtual Status demux(vlc_tick_t) override; + virtual void drain() override; + virtual bool create() override; + virtual void destroy() override; protected: AbstractSourceStream *sourcestream; @@ -102,8 +102,8 @@ namespace adaptive public: SlaveDemuxer(vlc_object_t *, const std::string &, es_out_t *, AbstractSourceStream *); virtual ~SlaveDemuxer(); - virtual bool create(); /* reimpl */ - virtual Status demux(vlc_tick_t); /* reimpl */ + virtual bool create() override; + virtual Status demux(vlc_tick_t) override; private: vlc_tick_t length; diff --git a/modules/demux/adaptive/plumbing/FakeESOut.hpp b/modules/demux/adaptive/plumbing/FakeESOut.hpp index da16d29d1d3e3b992556781bcbec24260de73ee6..5c15843e8eee1d97356c0dc90f3573fb9906b42b 100644 --- a/modules/demux/adaptive/plumbing/FakeESOut.hpp +++ b/modules/demux/adaptive/plumbing/FakeESOut.hpp @@ -97,11 +97,11 @@ namespace adaptive private: friend class LockedFakeESOut; vlc_mutex_t lock; - virtual es_out_id_t *esOutAdd( const es_format_t * ); /* impl */ - virtual int esOutSend( es_out_id_t *, block_t * ); /* impl */ - virtual void esOutDel( es_out_id_t * ); /* impl */ - virtual int esOutControl( int, va_list ); /* impl */ - virtual void esOutDestroy(); /* impl */ + virtual es_out_id_t *esOutAdd( const es_format_t * ) override; + virtual int esOutSend( es_out_id_t *, block_t * ) override; + virtual void esOutDel( es_out_id_t * ) override; + virtual int esOutControl( int, va_list ) override; + virtual void esOutDestroy() override; es_out_t *real_es_out; FakeESOutID * createNewID( const es_format_t * ); ExtraFMTInfoInterface *extrainfo; diff --git a/modules/demux/adaptive/plumbing/SourceStream.hpp b/modules/demux/adaptive/plumbing/SourceStream.hpp index a2b18a00ca3e0e205fd32d2e7c70478338d68a3d..105b310fb8e2ce47f12651d5a0c0fbd00334c3f1 100644 --- a/modules/demux/adaptive/plumbing/SourceStream.hpp +++ b/modules/demux/adaptive/plumbing/SourceStream.hpp @@ -43,8 +43,8 @@ namespace adaptive public: AbstractChunksSourceStream(vlc_object_t *, AbstractSource *); virtual ~AbstractChunksSourceStream(); - virtual void Reset(); /* impl */ - virtual stream_t *makeStream(); /* impl */ + virtual void Reset() override; + virtual stream_t *makeStream() override; protected: virtual ssize_t Read(uint8_t *, size_t) = 0; @@ -66,13 +66,13 @@ namespace adaptive public: ChunksSourceStream(vlc_object_t *, AbstractSource *); virtual ~ChunksSourceStream(); - virtual void Reset(); /* reimpl */ + virtual void Reset() override; protected: - virtual ssize_t Read(uint8_t *, size_t); /* impl */ - virtual int Seek(uint64_t); /* impl */ - virtual size_t Peek(const uint8_t **, size_t); /* impl */ - virtual std::string getContentType(); /* impl */ + virtual ssize_t Read(uint8_t *, size_t) override; + virtual int Seek(uint64_t) override; + virtual size_t Peek(const uint8_t **, size_t) override; + virtual std::string getContentType() override; private: block_t *p_block; @@ -83,13 +83,13 @@ namespace adaptive public: BufferedChunksSourceStream(vlc_object_t *, AbstractSource *); virtual ~BufferedChunksSourceStream(); - virtual void Reset(); /* reimpl */ + virtual void Reset() override; protected: - virtual ssize_t Read(uint8_t *, size_t); /* impl */ - virtual int Seek(uint64_t); /* impl */ - virtual size_t Peek(const uint8_t **, size_t); /* impl */ - virtual std::string getContentType(); /* impl */ + virtual ssize_t Read(uint8_t *, size_t) override; + virtual int Seek(uint64_t) override; + virtual size_t Peek(const uint8_t **, size_t) override; + virtual std::string getContentType() override; private: ssize_t doRead(uint8_t *, size_t); diff --git a/modules/demux/dash/DASHManager.h b/modules/demux/dash/DASHManager.h index 50e31329d94fdbde0a2006c433eddc54b2ed9d92..e5b8805b9b3eb0cc3bce15a165cc50b465237a9b 100644 --- a/modules/demux/dash/DASHManager.h +++ b/modules/demux/dash/DASHManager.h @@ -51,14 +51,14 @@ namespace dash logic::AbstractAdaptationLogic::LogicType type); virtual ~DASHManager (); - virtual bool needsUpdate() const; /* reimpl */ - virtual bool updatePlaylist(); /* reimpl */ - virtual void scheduleNextUpdate();/* reimpl */ + virtual bool needsUpdate() const override; + virtual bool updatePlaylist() override; + virtual void scheduleNextUpdate() override; static bool isDASH(xml::Node *); static bool mimeMatched(const std::string &); protected: - virtual int doControl(int, va_list); /* reimpl */ + virtual int doControl(int, va_list) override; }; } diff --git a/modules/demux/dash/DASHStream.hpp b/modules/demux/dash/DASHStream.hpp index 562c1447d2c60315d2a2786cb9bd6056b07e9055..6b26bea37029b3830013edd9c92ab7f5c48cf75c 100644 --- a/modules/demux/dash/DASHStream.hpp +++ b/modules/demux/dash/DASHStream.hpp @@ -32,9 +32,9 @@ namespace dash DASHStream(demux_t *); protected: - virtual block_t *checkBlock(block_t *, bool); /* impl */ + virtual block_t *checkBlock(block_t *, bool) override; virtual AbstractDemuxer * newDemux(vlc_object_t *, const StreamFormat &, - es_out_t *, AbstractSourceStream *) const; /* reimpl */ + es_out_t *, AbstractSourceStream *) const override; }; class DASHStreamFactory : public AbstractStreamFactory diff --git a/modules/demux/dash/mpd/AdaptationSet.h b/modules/demux/dash/mpd/AdaptationSet.h index 0f7059a8bb790843de1649cb7baacc395bd67131..6fa3a3206ea1f742ff8ee082066eaf893a9fb89d 100644 --- a/modules/demux/dash/mpd/AdaptationSet.h +++ b/modules/demux/dash/mpd/AdaptationSet.h @@ -48,7 +48,7 @@ namespace dash AdaptationSet(playlist::BasePeriod *); virtual ~AdaptationSet(); - virtual StreamFormat getStreamFormat() const; /* reimpl */ + virtual StreamFormat getStreamFormat() const override; bool getSubsegmentAlignmentFlag() const; void setSubsegmentAlignmentFlag( bool alignment ); diff --git a/modules/demux/dash/mpd/DASHSegment.h b/modules/demux/dash/mpd/DASHSegment.h index 6dca2c8d985e9bc10ceef7714a4783808555886d..11d1de13c9cad8431056d9999d496b51127afd4e 100644 --- a/modules/demux/dash/mpd/DASHSegment.h +++ b/modules/demux/dash/mpd/DASHSegment.h @@ -40,7 +40,7 @@ namespace dash public: DashIndexChunk(AbstractChunkSource *, BaseRepresentation *); ~DashIndexChunk(); - virtual void onDownload(block_t **); /* reimpl */ + virtual void onDownload(block_t **) override; }; class DashIndexSegment : public IndexSegment @@ -48,7 +48,7 @@ namespace dash public: DashIndexSegment( ICanonicalUrl *parent ); ~DashIndexSegment(); - virtual SegmentChunk* createChunk(AbstractChunkSource *, BaseRepresentation *); /* reimpl */ + virtual SegmentChunk* createChunk(AbstractChunkSource *, BaseRepresentation *) override; }; } diff --git a/modules/demux/dash/mpd/Representation.h b/modules/demux/dash/mpd/Representation.h index 2d66fa5d5dffce5100edc20eac4d159bb3f4e758..58a86d77a6a7786413e70ed53e36eb9147baf138 100644 --- a/modules/demux/dash/mpd/Representation.h +++ b/modules/demux/dash/mpd/Representation.h @@ -46,7 +46,7 @@ namespace dash Representation( AdaptationSet * ); virtual ~Representation (); - virtual StreamFormat getStreamFormat() const; /* reimpl */ + virtual StreamFormat getStreamFormat() const override; /* for segment templates */ virtual std::string contextualize(size_t, const std::string &, diff --git a/modules/demux/hls/HLSStreams.hpp b/modules/demux/hls/HLSStreams.hpp index d7f554ebb1a7ea791ce5a2a53b02559042aa4e94..ca21048b1f951b493ebae578020ea1fc5b159c32 100644 --- a/modules/demux/hls/HLSStreams.hpp +++ b/modules/demux/hls/HLSStreams.hpp @@ -33,9 +33,9 @@ namespace hls virtual ~HLSStream(); protected: - virtual block_t *checkBlock(block_t *, bool); /* reimpl */ + virtual block_t *checkBlock(block_t *, bool) override; virtual AbstractDemuxer * newDemux(vlc_object_t *, const StreamFormat &, - es_out_t *, AbstractSourceStream *) const; /* reimpl */ + es_out_t *, AbstractSourceStream *) const override; virtual bool setPosition(vlc_tick_t, bool); private: diff --git a/modules/demux/hls/playlist/HLSSegment.hpp b/modules/demux/hls/playlist/HLSSegment.hpp index 90713a12889f08856a1b1e25893f8a27594702f1..60fa57d30d4da80ac63ea25e151a9e4c06c8b65a 100644 --- a/modules/demux/hls/playlist/HLSSegment.hpp +++ b/modules/demux/hls/playlist/HLSSegment.hpp @@ -39,12 +39,12 @@ namespace hls HLSSegment( ICanonicalUrl *parent, uint64_t sequence ); virtual ~HLSSegment(); vlc_tick_t getUTCTime() const; - virtual int compare(ISegment *) const; /* reimpl */ + virtual int compare(ISegment *) const override; protected: vlc_tick_t utcTime; virtual bool prepareChunk(SharedResources *, SegmentChunk *, - BaseRepresentation *); /* reimpl */ + BaseRepresentation *) override; }; } } diff --git a/modules/demux/hls/playlist/Representation.hpp b/modules/demux/hls/playlist/Representation.hpp index 0d685a3add8efbff8ae2c4f0ebe6d4edc538d577..617f86eb5bf8298ce204b49419d70003ca270d23 100644 --- a/modules/demux/hls/playlist/Representation.hpp +++ b/modules/demux/hls/playlist/Representation.hpp @@ -41,18 +41,18 @@ namespace hls public: Representation( BaseAdaptationSet * ); virtual ~Representation (); - virtual StreamFormat getStreamFormat() const; /* reimpl */ + virtual StreamFormat getStreamFormat() const override; void setPlaylistUrl(const std::string &); Url getPlaylistUrl() const; bool isLive() const; bool initialized() const; - virtual void scheduleNextUpdate(uint64_t, bool); /* reimpl */ - virtual bool needsUpdate(uint64_t) const; /* reimpl */ - virtual void debug(vlc_object_t *, int) const; /* reimpl */ - virtual bool runLocalUpdates(SharedResources *); /* reimpl */ + virtual void scheduleNextUpdate(uint64_t, bool) override; + virtual bool needsUpdate(uint64_t) const override; + virtual void debug(vlc_object_t *, int) const override; + virtual bool runLocalUpdates(SharedResources *) override; - virtual uint64_t translateSegmentNumber(uint64_t, const BaseRepresentation *) const; /* reimpl */ + virtual uint64_t translateSegmentNumber(uint64_t, const BaseRepresentation *) const override; private: StreamFormat streamFormat; diff --git a/modules/demux/smooth/SmoothManager.hpp b/modules/demux/smooth/SmoothManager.hpp index 1e326039482f0bb3fb1b2291b24bce09f529f324..488009ee9c09aa22318642b1bcc01545c355c44d 100644 --- a/modules/demux/smooth/SmoothManager.hpp +++ b/modules/demux/smooth/SmoothManager.hpp @@ -44,15 +44,15 @@ namespace smooth logic::AbstractAdaptationLogic::LogicType type ); virtual ~SmoothManager(); - virtual bool needsUpdate() const; /* reimpl */ - virtual void scheduleNextUpdate(); /* reimpl */ - virtual bool updatePlaylist(); /* reimpl */ + virtual bool needsUpdate() const override; + virtual void scheduleNextUpdate() override; + virtual bool updatePlaylist() override; static bool isSmoothStreaming(xml::Node *); static bool mimeMatched(const std::string &); protected: - virtual bool reactivateStream(AbstractStream *); /* reimpl */ + virtual bool reactivateStream(AbstractStream *) override; private: bool updatePlaylist(bool); diff --git a/modules/demux/smooth/SmoothStream.hpp b/modules/demux/smooth/SmoothStream.hpp index 3aaff235ee205c2dd40bdefbaf3f74d2f8b6d03c..3a0c187eeecd4fc85a305c027d7d6d94eefc45da 100644 --- a/modules/demux/smooth/SmoothStream.hpp +++ b/modules/demux/smooth/SmoothStream.hpp @@ -32,9 +32,9 @@ namespace smooth SmoothStream(demux_t *); protected: - virtual block_t *checkBlock(block_t *, bool) /* impl */; + virtual block_t *checkBlock(block_t *, bool) override; virtual AbstractDemuxer * newDemux(vlc_object_t *, const StreamFormat &, - es_out_t *, AbstractSourceStream *) const; /* reimpl */ + es_out_t *, AbstractSourceStream *) const override; }; class SmoothStreamFactory : public AbstractStreamFactory diff --git a/modules/demux/smooth/playlist/ForgedInitSegment.hpp b/modules/demux/smooth/playlist/ForgedInitSegment.hpp index fd87c13c25f21b0317abd4f96e6f3bb0c16b0fb0..f2cb65d393cfda3d0ae11203fd7d2e26b6a10738 100644 --- a/modules/demux/smooth/playlist/ForgedInitSegment.hpp +++ b/modules/demux/smooth/playlist/ForgedInitSegment.hpp @@ -40,7 +40,7 @@ namespace smooth uint64_t, vlc_tick_t); virtual ~ForgedInitSegment(); virtual SegmentChunk* toChunk(SharedResources *, AbstractConnectionManager *, - size_t, BaseRepresentation *); /* reimpl */ + size_t, BaseRepresentation *) override; void setWaveFormatEx(const std::string &); void setCodecPrivateData(const std::string &); void setChannels(uint16_t); diff --git a/modules/demux/smooth/playlist/MemoryChunk.hpp b/modules/demux/smooth/playlist/MemoryChunk.hpp index fd917457509ddb4cc043a136a7d4679261a62b6b..52fc8829f02983221e131289e844afee2a4d8fc8 100644 --- a/modules/demux/smooth/playlist/MemoryChunk.hpp +++ b/modules/demux/smooth/playlist/MemoryChunk.hpp @@ -34,9 +34,9 @@ namespace smooth MemoryChunkSource(block_t *); virtual ~MemoryChunkSource(); - virtual block_t * readBlock(); /* impl */ - virtual block_t * read(size_t); /* impl */ - virtual bool hasMoreData() const; /* impl */ + virtual block_t * readBlock() override; + virtual block_t * read(size_t) override; + virtual bool hasMoreData() const override; private: block_t *data; diff --git a/modules/demux/smooth/playlist/Representation.hpp b/modules/demux/smooth/playlist/Representation.hpp index e708fc14a81a009b5916c8bb9f77203abba2e750..db66cbdc47aee05243e1ff863f45118c847d4e23 100644 --- a/modules/demux/smooth/playlist/Representation.hpp +++ b/modules/demux/smooth/playlist/Representation.hpp @@ -45,8 +45,8 @@ namespace smooth Representation(BaseAdaptationSet *); virtual ~Representation (); - virtual InitSegment * getInitSegment() const; /* reimpl */ - virtual StreamFormat getStreamFormat() const; /* reimpl */ + virtual InitSegment * getInitSegment() const override; + virtual StreamFormat getStreamFormat() const override; /* for segment templates */ virtual std::string contextualize(size_t, const std::string &, diff --git a/modules/demux/smooth/playlist/SmoothSegment.hpp b/modules/demux/smooth/playlist/SmoothSegment.hpp index 6eda4e7b5cd29833ae4783d3d0264d5dc6ef1005..757491f8f31351e6d9ebf20d9246224f3b05944a 100644 --- a/modules/demux/smooth/playlist/SmoothSegment.hpp +++ b/modules/demux/smooth/playlist/SmoothSegment.hpp @@ -34,7 +34,7 @@ namespace smooth public: SmoothSegmentChunk(AbstractChunkSource *, BaseRepresentation *); virtual ~SmoothSegmentChunk(); - virtual void onDownload(block_t **); /* reimpl */ + virtual void onDownload(block_t **) override; }; class SmoothSegmentTemplateSegment : public SegmentTemplateSegment @@ -42,7 +42,7 @@ namespace smooth public: SmoothSegmentTemplateSegment( ICanonicalUrl * = nullptr ); virtual ~SmoothSegmentTemplateSegment(); - virtual SegmentChunk* createChunk(AbstractChunkSource *, BaseRepresentation *); /* reimpl */ + virtual SegmentChunk* createChunk(AbstractChunkSource *, BaseRepresentation *) override; }; } }