Commit 3a60ec4b authored by Francois Cartegnie's avatar Francois Cartegnie

stream_filter: dash: remove duplicate member

parent e9a42b2d
......@@ -32,9 +32,9 @@ using namespace dash::xml;
using namespace dash::mpd;
AbstractAdaptationLogic::AbstractAdaptationLogic (MPDManager *mpdManager, stream_t *stream) :
mpdManager (mpdManager),
bpsAvg (0),
bpsLastChunk (0),
mpdManager (mpdManager),
stream (stream),
bufferedMicroSec (0),
bufferedPercent (0)
......
......@@ -53,10 +53,12 @@ namespace dash
uint64_t getBpsLastChunk () const;
int getBufferPercent () const;
protected:
dash::mpd::MPDManager *mpdManager;
private:
int bpsAvg;
long bpsLastChunk;
dash::mpd::MPDManager *mpdManager;
stream_t *stream;
mtime_t bufferedMicroSec;
int bufferedPercent;
......
......@@ -35,7 +35,6 @@ using namespace dash::mpd;
AlwaysBestAdaptationLogic::AlwaysBestAdaptationLogic (MPDManager *mpdManager, stream_t *stream) :
AbstractAdaptationLogic (mpdManager, stream)
{
this->mpdManager = mpdManager;
this->count = 0;
this->initSchedule();
}
......
......@@ -49,7 +49,6 @@ namespace dash
private:
std::vector<mpd::ISegment *> schedule;
dash::mpd::MPDManager *mpdManager;
size_t count;
dash::mpd::Representation *bestRepresentation;
......
#include "AlwaysLowestAdaptationLogic.hpp"
AlwaysLowestAdaptationLogic::AlwaysLowestAdaptationLogic()
{
}
#ifndef ALWAYSLOWESTADAPTATIONLOGIC_HPP
#define ALWAYSLOWESTADAPTATIONLOGIC_HPP
class AlwaysLowestAdaptationLogic
{
public:
AlwaysLowestAdaptationLogic();
};
#endif // ALWAYSLOWESTADAPTATIONLOGIC_HPP
......@@ -35,7 +35,6 @@ using namespace dash::mpd;
RateBasedAdaptationLogic::RateBasedAdaptationLogic (MPDManager *mpdManager, stream_t *stream) :
AbstractAdaptationLogic (mpdManager, stream),
mpdManager (mpdManager),
count (0),
currentPeriod (mpdManager->getFirstPeriod())
{
......
......@@ -48,7 +48,6 @@ namespace dash
const dash::mpd::Representation *getCurrentRepresentation() const;
private:
dash::mpd::MPDManager *mpdManager;
size_t count;
dash::mpd::Period *currentPeriod;
int width;
......
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