mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-02 22:06:10 +00:00
Fix handling of AV1 keyframes
This commit is contained in:
@@ -825,6 +825,8 @@ static void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length,
|
||||
// to determine if a given frame is an IDR frame.
|
||||
if (!(NegotiatedVideoFormat & (VIDEO_FORMAT_MASK_H264 | VIDEO_FORMAT_MASK_H265))) {
|
||||
waitingForIdrFrame = false;
|
||||
waitingForRefInvalFrame = false;
|
||||
waitingForNextSuccessfulFrame = false;
|
||||
frameType = FRAME_TYPE_IDR;
|
||||
}
|
||||
// Fall-through
|
||||
|
||||
Reference in New Issue
Block a user