Commit 6894028e authored by Francois Cartegnie's avatar Francois Cartegnie

demux: dash: add missing period duration parsing

parent 8fe3d171
...@@ -107,6 +107,8 @@ void IsoffMainParser::parsePeriods(Node *root) ...@@ -107,6 +107,8 @@ void IsoffMainParser::parsePeriods(Node *root)
parseSegmentInformation(*it, period); parseSegmentInformation(*it, period);
if((*it)->hasAttribute("start")) if((*it)->hasAttribute("start"))
period->startTime.Set(IsoTime((*it)->getAttributeValue("start"))); period->startTime.Set(IsoTime((*it)->getAttributeValue("start")));
if((*it)->hasAttribute("duration"))
period->duration.Set(IsoTime((*it)->getAttributeValue("duration")));
if((*it)->hasAttribute("id")) if((*it)->hasAttribute("id"))
period->setId((*it)->getAttributeValue("id")); period->setId((*it)->getAttributeValue("id"));
setAdaptationSets(*it, period); setAdaptationSets(*it, period);
......
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