[vlc-devel] [3.0 PATCH] adaptive: fix potential compilation error

Steve Lhomme robux4 at ycbcr.xyz
Fri Jan 15 12:08:47 UTC 2021


vlc_tick_t doesn't exist in 3.0

05d9097987b57f6a36533f47e86a0eaeef17f453 had a partial fix for this.
---
 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 99bf531c22..42ee21d925 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -427,8 +427,8 @@ AbstractStream::status AbstractStream::dequeue(mtime_t nz_deadline, mtime_t *pi_
 
     if(fakeEsOut()->commandsQueue()->isDraining())
     {
-        AdvDebug(vlc_tick_t pcrvalue = fakeEsOut()->commandsQueue()->getPCR();
-                 vlc_tick_t dtsvalue = fakeEsOut()->commandsQueue()->getFirstDTS();
+        AdvDebug(mtime_t pcrvalue = fakeEsOut()->commandsQueue()->getPCR();
+                 mtime_t dtsvalue = fakeEsOut()->commandsQueue()->getFirstDTS();
                  msg_Dbg(p_realdemux, "Stream %s pcr %" PRId64 " dts %" PRId64 " deadline %" PRId64 " [DRAINING]",
                          description.c_str(), pcrvalue, dtsvalue, nz_deadline));
 
-- 
2.29.2



More information about the vlc-devel mailing list