ref: 9512515a41173c4bcf7acbd15ca56305f430667b
parent: 24823621e1de9a7a73aa21ca5373be25503a0c58
parent: 1c44c43b8a25f65997fa64d4c2dfb4dc0e72eab1
author: sijchen <[email protected]>
date: Mon Nov 10 10:00:08 EST 2014
Merge pull request #1515 from ruil2/add_nal_trace add some traces for bitstream output
--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -3668,6 +3668,13 @@
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;