Fix handling of AV1 keyframes
This commit is contained in:
parent
f3b7edbd11
commit
953971c9a3
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue