demux: adaptive: fix debug log
authorZhao Zhili <wantlamy@gmail.com>
Mon, 31 Jul 2017 08:01:44 +0000 (16:01 +0800)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Tue, 1 Aug 2017 17:38:11 +0000 (19:38 +0200)
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
modules/demux/adaptive/Streams.cpp

index 3fa10f7..ab2a49a 100644 (file)
@@ -401,7 +401,7 @@ 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]",
+        AdvDebug(msg_Dbg(p_realdemux, "Stream %s pcr %" PRId64 " dts %" PRId64 " deadline %" PRId64 " [DRAINING]",
                          description.c_str(), commandsqueue->getPCR(), commandsqueue->getFirstDTS(),
                          nz_deadline));
 
@@ -422,7 +422,7 @@ AbstractStream::status AbstractStream::dequeue(mtime_t nz_deadline, mtime_t *pi_
         return AbstractStream::status_eof;
     }
 
-    AdvDebug(msg_Dbg(p_realdemux, "Stream %s pcr %ld dts %ld deadline %ld buflevel %ld",
+    AdvDebug(msg_Dbg(p_realdemux, "Stream %s pcr %" PRId64 " dts %" PRId64 " deadline %" PRId64 " buflevel %" PRId64,
                      description.c_str(), commandsqueue->getPCR(), commandsqueue->getFirstDTS(),
                      nz_deadline, commandsqueue->getBufferingLevel()));