[vlc-commits] demux: adaptive: add segment start time debugging

Francois Cartegnie git at videolan.org
Sun May 15 22:03:33 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat May 14 19:36:23 2016 +0200| [6d57ac72e84077513eaef9d3349b20db0ad8886f] | committer: Jean-Baptiste Kempf

demux: adaptive: add segment start time debugging

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

 modules/demux/adaptive/playlist/Segment.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/adaptive/playlist/Segment.cpp b/modules/demux/adaptive/playlist/Segment.cpp
index d30a92a..bda515e 100644
--- a/modules/demux/adaptive/playlist/Segment.cpp
+++ b/modules/demux/adaptive/playlist/Segment.cpp
@@ -128,6 +128,8 @@ void ISegment::debug(vlc_object_t *obj, int indent) const
     ss << " url=" << getUrlSegment().toString();
     if(startByte!=endByte)
         ss << " @" << startByte << ".." << endByte;
+    if(startTime.Get() > 0)
+    	 ss << " stime " << startTime.Get();
     msg_Dbg(obj, "%s", ss.str().c_str());
 }
 



More information about the vlc-commits mailing list