History

fix skipframe count error

lyao2 committed 12 years ago

Commit ca96def1 parent f8d5f931 file · +2 −0Browse files

Showing the changes to codec/encoder/core/src/ratectl.cpp (1 of 1 file). Show all

Unified · Split

codec/encoder/core/src/ratectl.cpp+2−0
@@ -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 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t