ref: f797bfddea3a5ce70a8208225450f88c6b638da7
parent: 78a34c5c89ed89c07f3980f2791f4808c930e23e
author: Linjie Fu <linjie.fu@intel.com>
date: Fri Apr 10 13:19:46 EDT 2020
codec/encoder: loose the reference check Allow prompting a warning like: >>Warning:iNumRefFrame(3) setting does not support the temporal >>and LTR setting, will be reset to 4 instead of reporting unsupported and fail. Signed-off-by: Linjie Fu <fulinjie@zju.edu.cn>
--- a/codec/encoder/core/src/au_set.cpp
+++ b/codec/encoder/core/src/au_set.cpp
@@ -134,7 +134,7 @@
int32_t WelsCheckRefFrameLimitationNumRefFirst (SLogContext* pLogCtx, SWelsSvcCodingParam* pParam) {
- if (WelsCheckNumRefSetting (pLogCtx, pParam, true)) {
+ if (WelsCheckNumRefSetting (pLogCtx, pParam, false)) {
// we take num-ref as the honored setting but it conflicts with temporal and LTR
return ENC_RETURN_UNSUPPORTED_PARA;
}