Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -3616,6 +3616,8 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3615 unmodified lines | ||
| 3616 | 3616 | eNalRefIdc = NRI_PRI_LOWEST; |
| 3617 | 3617 | else if (1 + iCurTid == iDecompositionStages) |
| 3618 | 3618 | eNalRefIdc = NRI_PRI_LOW; |
| 3619 | + else if (2 + iCurTid == iDecompositionStages) | |
| 3620 | + eNalRefIdc = NRI_PRI_HIGH; | |
| 3619 | 3621 | else // more details for other temporal layers? |
| 3620 | 3622 | eNalRefIdc = NRI_PRI_HIGHEST; |
| 3621 | 3623 | pCtx->eNalType = eNalType; |