[vlc-commits] stream_filter: dash: remove unused member and methods

Francois Cartegnie git at videolan.org
Thu Dec 18 22:39:46 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Nov 18 23:35:32 2014 +0100| [5c7cc78915d38491375e7b68098840fd995e3267] | committer: Francois Cartegnie

stream_filter: dash: remove unused member and methods

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

 modules/stream_filter/dash/DASHManager.cpp |   11 -----------
 modules/stream_filter/dash/DASHManager.h   |    3 ---
 2 files changed, 14 deletions(-)

diff --git a/modules/stream_filter/dash/DASHManager.cpp b/modules/stream_filter/dash/DASHManager.cpp
index 58faa2f..6172caa 100644
--- a/modules/stream_filter/dash/DASHManager.cpp
+++ b/modules/stream_filter/dash/DASHManager.cpp
@@ -37,7 +37,6 @@ using namespace dash::buffer;
 DASHManager::DASHManager    ( MPD *mpd,
                               IAdaptationLogic::LogicType type, stream_t *stream) :
              conManager     ( NULL ),
-             currentChunk   ( NULL ),
              adaptationLogic( NULL ),
              logicType      ( type ),
              mpdManager     ( NULL ),
@@ -92,11 +91,6 @@ int     DASHManager::peek( const uint8_t **pp_peek, size_t i_peek )
     return this->buffer->peek(pp_peek, i_peek);
 }
 
-const mpd::MPDManager*         DASHManager::getMpdManager() const
-{
-    return this->mpdManager;
-}
-
 mtime_t DASHManager::getDuration() const
 {
     if (mpd->isLive())
@@ -112,8 +106,3 @@ mtime_t DASHManager::getDuration() const
             return mpd->getDuration() * rep->getBandwidth() / 8;
     }
 }
-
-const Chunk *DASHManager::getCurrentChunk() const
-{
-    return this->currentChunk;
-}
diff --git a/modules/stream_filter/dash/DASHManager.h b/modules/stream_filter/dash/DASHManager.h
index 8ab6756..149e2f8 100644
--- a/modules/stream_filter/dash/DASHManager.h
+++ b/modules/stream_filter/dash/DASHManager.h
@@ -49,13 +49,10 @@ namespace dash
             int     peek          ( const uint8_t **pp_peek, size_t i_peek );
             int     seekBackwards ( unsigned len );
 
-            const mpd::MPDManager*         getMpdManager   () const;
             mtime_t getDuration() const;
-            const http::Chunk *getCurrentChunk() const;
 
         private:
             http::HTTPConnectionManager         *conManager;
-            http::Chunk                         *currentChunk;
             logic::IAdaptationLogic             *adaptationLogic;
             logic::IAdaptationLogic::LogicType  logicType;
             mpd::MPDManager                    *mpdManager;



More information about the vlc-commits mailing list