Commit 4bb0bc00 authored by Christopher Mueller's avatar Christopher Mueller Committed by Hugo Beauzée-Luyssen

dash: added segmentlist and base to representation

Signed-off-by: default avatarHugo Beauzée-Luyssen <beauze.h@gmail.com>
parent 4a1c8e4d
......@@ -31,11 +31,14 @@
using namespace dash::mpd;
Representation::Representation() :
qualityRanking( -1 ),
segmentInfo( NULL ),
trickModeType( NULL ),
parentGroup( NULL )
Representation::Representation () :
qualityRanking ( -1 ),
segmentInfo ( NULL ),
trickModeType ( NULL ),
parentGroup ( NULL ),
segmentBase ( NULL ),
segmentList ( NULL )
{
}
......@@ -120,3 +123,19 @@ void Representation::addDependency(const Representation *dep)
if ( dep != NULL )
this->dependencies.push_back( dep );
}
SegmentList* Representation::getSegmentList () const
{
return this->segmentList;
}
void Representation::setSegmentList (SegmentList *list)
{
this->segmentList = list;
}
SegmentBase* Representation::getSegmentBase () const
{
return this->segmentBase;
}
void Representation::setSegmentBase (SegmentBase *base)
{
this->segmentBase = base;
}
......@@ -30,6 +30,8 @@
#include "mpd/CommonAttributesElements.h"
#include "mpd/SegmentInfo.h"
#include "mpd/TrickModeType.h"
#include "mpd/SegmentBase.h"
#include "mpd/SegmentList.h"
namespace dash
{
......@@ -70,6 +72,11 @@ namespace dash
const Group* getParentGroup() const;
void setParentGroup( const Group *group );
SegmentList* getSegmentList () const;
void setSegmentList (SegmentList *list);
SegmentBase* getSegmentBase () const;
void setSegmentBase (SegmentBase *base);
private:
int bandwidth;
std::string id;
......@@ -78,6 +85,8 @@ namespace dash
SegmentInfo *segmentInfo;
TrickModeType *trickModeType;
const Group *parentGroup;
SegmentBase *segmentBase;
SegmentList *segmentList;
};
}
}
......
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