vlc | branch: master | Zhao Zhili <wantl...@gmail.com> | Mon Jul 31 16:01:44 
2017 +0800| [ea4e7a0bc885cbda7111238aa11515ef9df59f32] | committer: Francois 
Cartegnie

demux: adaptive: fix debug log

Signed-off-by: Francois Cartegnie <fcvlc...@free.fr>

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

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

diff --git a/modules/demux/adaptive/Streams.cpp 
b/modules/demux/adaptive/Streams.cpp
index 3fa10f7b80..ab2a49a20f 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -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()));
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to