Commit 5c7cc789 authored by Francois Cartegnie's avatar Francois Cartegnie

stream_filter: dash: remove unused member and methods

parent 02c07d35
...@@ -37,7 +37,6 @@ using namespace dash::buffer; ...@@ -37,7 +37,6 @@ using namespace dash::buffer;
DASHManager::DASHManager ( MPD *mpd, DASHManager::DASHManager ( MPD *mpd,
IAdaptationLogic::LogicType type, stream_t *stream) : IAdaptationLogic::LogicType type, stream_t *stream) :
conManager ( NULL ), conManager ( NULL ),
currentChunk ( NULL ),
adaptationLogic( NULL ), adaptationLogic( NULL ),
logicType ( type ), logicType ( type ),
mpdManager ( NULL ), mpdManager ( NULL ),
...@@ -92,11 +91,6 @@ int DASHManager::peek( const uint8_t **pp_peek, size_t i_peek ) ...@@ -92,11 +91,6 @@ int DASHManager::peek( const uint8_t **pp_peek, size_t i_peek )
return this->buffer->peek(pp_peek, i_peek); return this->buffer->peek(pp_peek, i_peek);
} }
const mpd::MPDManager* DASHManager::getMpdManager() const
{
return this->mpdManager;
}
mtime_t DASHManager::getDuration() const mtime_t DASHManager::getDuration() const
{ {
if (mpd->isLive()) if (mpd->isLive())
...@@ -112,8 +106,3 @@ mtime_t DASHManager::getDuration() const ...@@ -112,8 +106,3 @@ mtime_t DASHManager::getDuration() const
return mpd->getDuration() * rep->getBandwidth() / 8; return mpd->getDuration() * rep->getBandwidth() / 8;
} }
} }
const Chunk *DASHManager::getCurrentChunk() const
{
return this->currentChunk;
}
...@@ -49,13 +49,10 @@ namespace dash ...@@ -49,13 +49,10 @@ namespace dash
int peek ( const uint8_t **pp_peek, size_t i_peek ); int peek ( const uint8_t **pp_peek, size_t i_peek );
int seekBackwards ( unsigned len ); int seekBackwards ( unsigned len );
const mpd::MPDManager* getMpdManager () const;
mtime_t getDuration() const; mtime_t getDuration() const;
const http::Chunk *getCurrentChunk() const;
private: private:
http::HTTPConnectionManager *conManager; http::HTTPConnectionManager *conManager;
http::Chunk *currentChunk;
logic::IAdaptationLogic *adaptationLogic; logic::IAdaptationLogic *adaptationLogic;
logic::IAdaptationLogic::LogicType logicType; logic::IAdaptationLogic::LogicType logicType;
mpd::MPDManager *mpdManager; mpd::MPDManager *mpdManager;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment