shithub: openh264

Download patch

ref: 7da20f873848199a9ad41cd9cf6d5591bad5f460
parent: ab4e0df75a80b4478f2ac9dc6113bf206bacf90e
parent: 195dbdd5bdfefdf5c7ede511d1c088da493b559e
author: zhilwang <zhilwang@cisco.com>
date: Wed Aug 26 12:14:21 EDT 2015

Merge pull request #2081 from HaiboZhu/Change_InitDecoder_Trace

Add bParseOnly flag into Trace

--- a/codec/decoder/plus/src/welsDecoderExt.cpp
+++ b/codec/decoder/plus/src/welsDecoderExt.cpp
@@ -243,8 +243,9 @@
 // the return value of this function is not suitable, it need report failure info to upper layer.
 int32_t CWelsDecoder::InitDecoder (const bool bParseOnly) {
 
-  WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, "CWelsDecoder::init_decoder(), openh264 codec version = %s",
-           VERSION_NUMBER);
+  WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO,
+           "CWelsDecoder::init_decoder(), openh264 codec version = %s, ParseOnly = %d",
+           VERSION_NUMBER, (int32_t)bParseOnly);
 
   if (m_pDecContext) //free
     UninitDecoder();