ref: 195dbdd5bdfefdf5c7ede511d1c088da493b559e
parent: ab4e0df75a80b4478f2ac9dc6113bf206bacf90e
author: Haibo Zhu <haibozhu@cisco.com>
date: Tue Aug 25 04:58:28 EDT 2015
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();