mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Cancel the pending IDR frame request if we got a spurious IDR frame after a stream discontinuity
This commit is contained in:
parent
69c8881187
commit
2103b62386
@ -319,6 +319,9 @@ static void processRtpPayloadSlow(PNV_VIDEO_PACKET videoPacket, PBUFFER_DESC cur
|
|||||||
if (isSeqReferenceFrameStart(&specialSeq)) {
|
if (isSeqReferenceFrameStart(&specialSeq)) {
|
||||||
// No longer waiting for an IDR frame
|
// No longer waiting for an IDR frame
|
||||||
waitingForIdrFrame = 0;
|
waitingForIdrFrame = 0;
|
||||||
|
|
||||||
|
// Cancel any pending IDR frame request
|
||||||
|
waitingForNextSuccessfulFrame = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user