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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue