ref: f594d96a517e627aef8ee9580746eb52dfc47e4f
parent: 34661f1d868777c63b5eea56c12be215dfe8d3dd
author: Martin Storsjö <martin@martin.st>
date: Tue Jan 13 06:07:09 EST 2015
Log all provided parameters in WelsEncoderApplyLTR This fixes warnings with gcc and clang.
--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -4021,7 +4021,7 @@
}
if (iNumRefFrame > sConfig.iMaxNumRefFrame) {
WelsLog (pLogCtx, WELS_LOG_WARNING,
- " CWelsH264SVCEncoder::SetOption LTR flag = %d and number = %d: Required number of reference increased to %d and iMaxNumRefFrame is adjusted",
+ " CWelsH264SVCEncoder::SetOption LTR flag = %d and number = %d: Required number of reference increased to %d and iMaxNumRefFrame is adjusted (from %d)",
sConfig.bEnableLongTermReference, sConfig.iLTRRefNum, iNumRefFrame, sConfig.iMaxNumRefFrame);
sConfig.iMaxNumRefFrame = iNumRefFrame;
}