Showing the changes to codec/encoder/core/src/ratectl.cpp (1 of 1 file). Show all
Unified · Split
| @@ -731,6 +731,8 @@ void WelsRcFrameDelayJudge (void* pCtx) { · 730 unmodified lines | |||
| 731 | pWelsSvcRc->bSkipFlag = false; | 731 | pWelsSvcRc->bSkipFlag = false; |
| 732 | if (pWelsSvcRc->iBufferFullnessSkip > pWelsSvcRc->iBufferSizeSkip) { | 732 | if (pWelsSvcRc->iBufferFullnessSkip > pWelsSvcRc->iBufferSizeSkip) { |
| 733 | pWelsSvcRc->bSkipFlag = true; | 733 | pWelsSvcRc->bSkipFlag = true; |
| 734 | pWelsSvcRc->iSkipFrameNum++; | ||
| 735 | pWelsSvcRc->iSkipFrameInVGop++; | ||
| 734 | pWelsSvcRc->iBufferFullnessSkip -= iSentBits; | 736 | pWelsSvcRc->iBufferFullnessSkip -= iSentBits; |
| 735 | pWelsSvcRc->iBufferFullnessSkip = WELS_MAX (pWelsSvcRc->iBufferFullnessSkip, 0); | 737 | pWelsSvcRc->iBufferFullnessSkip = WELS_MAX (pWelsSvcRc->iBufferFullnessSkip, 0); |
| 736 | } | 738 | } |