mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +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");
|
||||
|
||||
// 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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user