shithub: openh264

Download patch

ref: 1c44c43b8a25f65997fa64d4c2dfb4dc0e72eab1
parent: 8b49f98475226148b93fe95e2c61d247c281f9ab
author: ruil2 <ruil2@cisco.com>
date: Mon Nov 10 10:20:25 EST 2014

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;