From f004ae6a419fe726e2e351f65a4ac1a523a1d7d0 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 10 Oct 2014 18:21:41 -0700 Subject: [PATCH] Use the entry's queue time rather than calling currentTimeMillis() again --- .../src/com/limelight/nvstream/av/RtpReorderQueue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonlight-common/src/com/limelight/nvstream/av/RtpReorderQueue.java b/moonlight-common/src/com/limelight/nvstream/av/RtpReorderQueue.java index d7711931..d180eadb 100644 --- a/moonlight-common/src/com/limelight/nvstream/av/RtpReorderQueue.java +++ b/moonlight-common/src/com/limelight/nvstream/av/RtpReorderQueue.java @@ -63,7 +63,7 @@ public class RtpReorderQueue { entry.sequenceNumber = seq; if (oldestQueuedTime == Long.MAX_VALUE) { - oldestQueuedTime = System.currentTimeMillis(); + oldestQueuedTime = entry.queueTime; } if (head) {