diff --git a/codec/encoder/core/src/encoder_ext.cpp b/codec/encoder/core/src/encoder_ext.cpp index 168f3b88..6dc418d7 100644 --- a/codec/encoder/core/src/encoder_ext.cpp +++ b/codec/encoder/core/src/encoder_ext.cpp @@ -3668,6 +3668,13 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour pCtx->eLastNalPriority = eNalRefIdc; pFbi->iLayerNum = iLayerNum; pFbi->iSubSeqId = GetSubSequenceId (pCtx, eFrameType); + WelsLog (pLogCtx, WELS_LOG_DEBUG, "WelsEncoderEncodeExt() OutputInfo iLayerNum = %d,iSubSeqId = %d", iLayerNum, + pFbi->iSubSeqId); + for (int32_t i = 0; i < iLayerNum; i++) + WelsLog (pLogCtx, WELS_LOG_DEBUG, "WelsEncoderEncodeExt() OutputInfo iLayerId = %d,iNalType = %d,iNalCount = %d", i, + pFbi->sLayerInfo[i].uiLayerType, pFbi->sLayerInfo[i].iNalCount); + + WelsEmms(); pFbi->eFrameType = eFrameType;