Commit a013e25a authored by Francois Cartegnie's avatar Francois Cartegnie

demux: dash: handle Period Id

parent ea06a8cd
......@@ -99,6 +99,8 @@ void IsoffMainParser::parsePeriods(Node *root)
parseSegmentInformation(*it, period);
if((*it)->hasAttribute("start"))
period->startTime.Set(IsoTime((*it)->getAttributeValue("start")));
if((*it)->hasAttribute("id"))
period->setId((*it)->getAttributeValue("id"));
setAdaptationSets(*it, period);
mpd->addPeriod(period);
}
......
......@@ -39,7 +39,8 @@ namespace dash
{
class MPD;
class Period : public SegmentInformation
class Period : public SegmentInformation,
public UniqueNess<Period>
{
public:
Period(MPD *);
......
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