Commit 4312d4a1 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: dash: time template value is scaled

Regression from previous time fix. Test url
http://wams.edgesuite.net/media/SintelTrailer_Smooth_SeekDemo/sintel_trailer-1080p.ism/manifest%28format=mpd-time-csf%29
parent 6f3da59e
......@@ -103,7 +103,7 @@ std::string Representation::contextualize(size_t index, const std::string &compo
if(pos != std::string::npos)
{
std::stringstream ss;
ss << (getScaledTimeBySegmentNumber(index, templ) * CLOCK_FREQ / templ->inheritTimescale());
ss << getScaledTimeBySegmentNumber(index, templ);
ret.replace(pos, std::string("$Time$").length(), ss.str());
}
......
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