ref: 065c3a776922dadda280e7ef88d339f3d57d8fcc
parent: af97f2d4bb4ea1b958f4e97f83a4db859865f4cf
parent: 7da17b5abd055d661047a0de7eeb148d942c807b
author: sijchen <sijchen@cisco.com>
date: Thu Dec 11 05:28:24 EST 2014
Merge pull request #1607 from mstorsjo/encoder-init-log Log the encoder version later in the initialization
--- a/codec/encoder/plus/src/welsEncoderExt.cpp
+++ b/codec/encoder/plus/src/welsEncoderExt.cpp
@@ -166,8 +166,6 @@
if (m_pWelsTrace == NULL) {
return;
}
- WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, "CWelsH264SVCEncoder::InitEncoder(), openh264 codec version = %s",
- VERSION_NUMBER);
}
/* Interfaces override from ISVCEncoder */
@@ -185,6 +183,9 @@
return cmMallocMemeError;
}
+ WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, "CWelsH264SVCEncoder::InitEncoder(), openh264 codec version = %s",
+ VERSION_NUMBER);
+
if (NULL == argv) {
WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_ERROR, "CWelsH264SVCEncoder::Initialize(), invalid argv= 0x%p",
argv);
@@ -208,6 +209,9 @@
if (m_pWelsTrace == NULL) {
return cmMallocMemeError;
}
+
+ WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, "CWelsH264SVCEncoder::InitEncoder(), openh264 codec version = %s",
+ VERSION_NUMBER);
if (NULL == argv) {
WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_ERROR, "CWelsH264SVCEncoder::InitializeExt(), invalid argv= 0x%p",