[vlc-commits] demux: adaptive: debug drains

Francois Cartegnie git at videolan.org
Mon Jul 17 20:16:05 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jul 13 15:33:06 2017 +0200| [846c4d18d65f6ca11b74f34b0b225c3b8513e4a6] | committer: Francois Cartegnie

demux: adaptive: debug drains

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

 modules/demux/adaptive/Streams.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/demux/adaptive/Streams.cpp b/modules/demux/adaptive/Streams.cpp
index 18d0fa4bdf..3fa10f7b80 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -401,6 +401,10 @@ AbstractStream::status AbstractStream::dequeue(mtime_t nz_deadline, mtime_t *pi_
 
     if(commandsqueue->isDraining())
     {
+        AdvDebug(msg_Dbg(p_realdemux, "Stream %s pcr %ld dts %ld deadline %ld [DRAINING]",
+                         description.c_str(), commandsqueue->getPCR(), commandsqueue->getFirstDTS(),
+                         nz_deadline));
+
         *pi_pcr = commandsqueue->Process(p_realdemux->out, VLC_TS_0 + nz_deadline);
         if(!commandsqueue->isEmpty())
             return AbstractStream::status_demuxed;



More information about the vlc-commits mailing list