History

Log all provided parameters in WelsEncoderApplyLTR

This fixes warnings with gcc and clang.

Martin Storsjö committed 11 years ago

Commit f594d961 parent 34661f11 file · +1 −1Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+1−1
@@ -4021,7 +4021,7 @@ int32_t WelsEncoderApplyLTR (SLogContext* pLogCtx, sWelsEncCtx** ppCtx, SLTRConf · 4020 unmodified lines
4021 }4021 }
4022 if (iNumRefFrame > sConfig.iMaxNumRefFrame) {4022 if (iNumRefFrame > sConfig.iMaxNumRefFrame) {
4023 WelsLog (pLogCtx, WELS_LOG_WARNING,4023 WelsLog (pLogCtx, WELS_LOG_WARNING,
4024 " CWelsH264SVCEncoder::SetOption LTR flag = %d and number = %d: Required number of reference increased to %d and iMaxNumRefFrame is adjusted",4024 " CWelsH264SVCEncoder::SetOption LTR flag = %d and number = %d: Required number of reference increased to %d and iMaxNumRefFrame is adjusted (from %d)",
4025 sConfig.bEnableLongTermReference, sConfig.iLTRRefNum, iNumRefFrame, sConfig.iMaxNumRefFrame);4025 sConfig.bEnableLongTermReference, sConfig.iLTRRefNum, iNumRefFrame, sConfig.iMaxNumRefFrame);
4026 sConfig.iMaxNumRefFrame = iNumRefFrame;4026 sConfig.iMaxNumRefFrame = iNumRefFrame;
4027 }4027 }

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