mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-22 16:17:27 +00:00
"Fix" decode unit leak
This commit is contained in:
1 parent
70b50bd096
commit
77cea99b35
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user