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;
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;
}
......@@ -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;
......
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