Fix handling of AV1 keyframes

This commit is contained in:
Cameron Gutman
2023-07-05 18:45:29 -05:00
parent f3b7edbd11
commit 953971c9a3

View File

@@ -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