[vlc-commits] demux: dash: time template value is scaled

Francois Cartegnie git at videolan.org
Sun Aug 30 22:40:41 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Aug 30 22:38:09 2015 +0200| [0c7c7938e2d5c82d19cf99e0251517f211afd87b] | committer: 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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c7c7938e2d5c82d19cf99e0251517f211afd87b
---

 modules/demux/dash/mpd/Representation.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/dash/mpd/Representation.cpp b/modules/demux/dash/mpd/Representation.cpp
index 0bc6658..77a7db1 100644
--- a/modules/demux/dash/mpd/Representation.cpp
+++ b/modules/demux/dash/mpd/Representation.cpp
@@ -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());
         }
 



More information about the vlc-commits mailing list