mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Fix RFI invalidating an extra frame each time
This commit is contained in:
parent
bfd368769e
commit
7ee9ea4e11
@ -555,7 +555,7 @@ void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length) {
|
|||||||
// with an end flag, we can send a message to the server
|
// with an end flag, we can send a message to the server
|
||||||
if (waitingForNextSuccessfulFrame) {
|
if (waitingForNextSuccessfulFrame) {
|
||||||
// This is the next successful frame after a loss event
|
// This is the next successful frame after a loss event
|
||||||
connectionDetectedFrameLoss(startFrameNumber, nextFrameNumber - 1);
|
connectionDetectedFrameLoss(startFrameNumber, frameIndex - 1);
|
||||||
waitingForNextSuccessfulFrame = 0;
|
waitingForNextSuccessfulFrame = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user