ref: debb01e5c38437116a5e491710257fd6f2e1d0e7
parent: eb2469fb4d0987cf75ae05b706711df59533d690
author: vacingFang <vacingfang@qq.com>
date: Sun Jul 11 19:14:43 EDT 2021
modify nal_ref_idc from 3 to 2 for level 1 when output 4 temporal layers
--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -3616,6 +3616,8 @@
eNalRefIdc = NRI_PRI_LOWEST;
else if (1 + iCurTid == iDecompositionStages)
eNalRefIdc = NRI_PRI_LOW;
+ else if (2 + iCurTid == iDecompositionStages)
+ eNalRefIdc = NRI_PRI_HIGH;
else // more details for other temporal layers?
eNalRefIdc = NRI_PRI_HIGHEST;
pCtx->eNalType = eNalType;