Merge pull request #2081 from HaiboZhu/Change_InitDecoder_Trace

Add bParseOnly flag into Trace
This commit is contained in:
zhilwang 2015-08-26 16:14:21 +08:00
commit 7da20f8738

View File

@ -243,8 +243,9 @@ void CWelsDecoder::UninitDecoder (void) {
// 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();