mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-23 08:46:40 +00:00
Fix off by one in reference frame invalidation
This commit is contained in:
@@ -286,9 +286,6 @@ public class ControlStream implements ConnectionStatusListener {
|
|||||||
requestIdrFrame();
|
requestIdrFrame();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// The server expects this to be the firstLostFrame + 1
|
|
||||||
tuple[0]++;
|
|
||||||
|
|
||||||
// Update the end of the range to the latest tuple
|
// Update the end of the range to the latest tuple
|
||||||
if (lastTuple != null) {
|
if (lastTuple != null) {
|
||||||
tuple[1] = lastTuple[1];
|
tuple[1] = lastTuple[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user