From 77cea99b353270fe22efa107c143e950caf9d6f1 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 12 Jul 2014 14:07:18 -0700 Subject: [PATCH] "Fix" decode unit leak --- .../src/com/limelight/nvstream/av/video/VideoDepacketizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonlight-common/src/com/limelight/nvstream/av/video/VideoDepacketizer.java b/moonlight-common/src/com/limelight/nvstream/av/video/VideoDepacketizer.java index af07c3ca..f82a6087 100644 --- a/moonlight-common/src/com/limelight/nvstream/av/video/VideoDepacketizer.java +++ b/moonlight-common/src/com/limelight/nvstream/av/video/VideoDepacketizer.java @@ -77,7 +77,7 @@ public class VideoDepacketizer { LimeLog.warning("Video decoder is too slow! Forced to drop decode units"); // Invalidate all frames from the start of the DU queue - controlListener.connectionSinkTooSlow(decodedUnits.pollPopulatedObject().getFrameNumber(), frameNumber); + controlListener.connectionSinkTooSlow(0, 0); // Remove existing frames decodedUnits.clearPopulatedObjects();