Commit 6ee46f4b authored by Francois Cartegnie's avatar Francois Cartegnie

demux: dash: remove unused buffer observer impl

parent cf3f7140
......@@ -35,9 +35,7 @@ AbstractAdaptationLogic::AbstractAdaptationLogic (MPD *mpd_) :
mpd (mpd_),
currentPeriod (mpd->getFirstPeriod()),
count (0),
prevRepresentation (NULL),
bufferedMicroSec (0),
bufferedPercent (0)
prevRepresentation (NULL)
{
}
......@@ -99,17 +97,6 @@ Chunk* AbstractAdaptationLogic::getNextChunk(Streams::Type type)
return NULL;
}
void AbstractAdaptationLogic::bufferLevelChanged (mtime_t bufferedMicroSec, int bufferedPercent)
{
this->bufferedMicroSec = bufferedMicroSec;
this->bufferedPercent = bufferedPercent;
}
void AbstractAdaptationLogic::updateDownloadRate (size_t, mtime_t)
{
}
int AbstractAdaptationLogic::getBufferPercent () const
{
return this->bufferedPercent;
}
......@@ -47,18 +47,11 @@ namespace dash
virtual void updateDownloadRate (size_t, mtime_t);
virtual void bufferLevelChanged (mtime_t bufferedMicroSec, int bufferedPercent);
int getBufferPercent () const;
protected:
dash::mpd::MPD *mpd;
dash::mpd::Period *currentPeriod;
size_t count;
mpd::Representation *prevRepresentation;
private:
mtime_t bufferedMicroSec;
int bufferedPercent;
};
}
}
......
......@@ -35,7 +35,7 @@ namespace dash
{
namespace logic
{
class IAdaptationLogic : public IDownloadRateObserver, public dash::buffer::IBufferObserver
class IAdaptationLogic : public IDownloadRateObserver
{
public:
......
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