mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 03:52:48 +00:00
"Fix" decode unit leak
This commit is contained in:
parent
70b50bd096
commit
77cea99b35
@ -77,7 +77,7 @@ public class VideoDepacketizer {
|
|||||||
LimeLog.warning("Video decoder is too slow! Forced to drop decode units");
|
LimeLog.warning("Video decoder is too slow! Forced to drop decode units");
|
||||||
|
|
||||||
// Invalidate all frames from the start of the DU queue
|
// Invalidate all frames from the start of the DU queue
|
||||||
controlListener.connectionSinkTooSlow(decodedUnits.pollPopulatedObject().getFrameNumber(), frameNumber);
|
controlListener.connectionSinkTooSlow(0, 0);
|
||||||
|
|
||||||
// Remove existing frames
|
// Remove existing frames
|
||||||
decodedUnits.clearPopulatedObjects();
|
decodedUnits.clearPopulatedObjects();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user