Commit 81913ec5 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: smooth: handle per streamindex timescale

parent e0746a1f
......@@ -215,6 +215,10 @@ static void ParseStreamIndex(BasePeriod *period, Node *streamIndexNode, unsigned
adaptSet->setID(ID(id));
if(streamIndexNode->hasAttribute("Language"))
adaptSet->addLang(streamIndexNode->getAttributeValue("Language"));
if(streamIndexNode->hasAttribute("TimeScale"))
adaptSet->timescale.Set(Integer<uint64_t>(streamIndexNode->getAttributeValue("TimeScale")));
const std::string url = streamIndexNode->getAttributeValue("Url");
if(!url.empty())
{
......
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