[vlc-devel] [PATCH] demux: adaptive: fix debug log

Zhao Zhili wantlamy at gmail.com
Mon Jul 31 10:05:13 CEST 2017


---
 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 3fa10f7..ab2a49a 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()));

-- 
2.7.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170731/e914e7bc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-demux-adaptive-fix-debug-log.patch
Type: text/x-patch
Size: 1539 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170731/e914e7bc/attachment.bin>


More information about the vlc-devel mailing list