[vlc-commits] adaptive: fix potential compilation error
Steve Lhomme
git at videolan.org
Mon Jan 18 08:53:55 UTC 2021
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jan 15 13:08:01 2021 +0100| [8d109c61d34ba1361a0444128c4fb441be56876e] | committer: Steve Lhomme
adaptive: fix potential compilation error
vlc_tick_t doesn't exist in 3.0
05d9097987b57f6a36533f47e86a0eaeef17f453 had a partial fix for this.
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=8d109c61d34ba1361a0444128c4fb441be56876e
---
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));
More information about the vlc-commits
mailing list