update(mpp): close mpp log.

This commit is contained in:
kangjun
2024-09-06 14:42:14 +08:00
parent c87ef401f1
commit 28f5653853
10 changed files with 18 additions and 337 deletions

View File

@@ -1068,7 +1068,7 @@ static int AC320DecInit(AudioDecoderContextLib *pAudioDecodeLib,BsInFor *pBsInFo
pExtraData = (unsigned char*)pAudioStreamInfo->pCodecSpecificData;
nExtraDataLen = pAudioStreamInfo->nCodecSpecificDataLen;
#if 1
#if 0
alib_logd("*************pAudioStreamInfo start******************");
alib_logd("eCodecFormat :id(%d), name(%s)", pAudioStreamInfo->eCodecFormat, CodecIDtoFormatName(pAudioStreamInfo->eCodecFormat));
alib_logd("eSubCodecFormat :%d", pAudioStreamInfo->eSubCodecFormat );
@@ -1683,7 +1683,7 @@ int InitializeAudioDecodeLib(AudioDecoderLib* pDecoder,
int ret = 0;
int idx = 0;
LogVersionInfo();
// LogVersionInfo();
AudioDecoderContextLib *pAudioDecodeLib = (AudioDecoderContextLib *)pDecoder;
pAudioDecodeLib->DecFileInfo.tmpGlobalAudioDecData = (void*)pDecoder;

View File

@@ -927,7 +927,7 @@ static ERRORTYPE ion_iommu_over()
}
#endif
int MPP_GLOBAL_LOG_LEVEL = OPTION_LOG_LEVEL_DEBUG;
int MPP_GLOBAL_LOG_LEVEL = OPTION_LOG_LEVEL_WARN;
int MPP_GLOBAL_VENC_SEI_CONFIG_LEVEL = 0;
int MPP_GLOBAL_VENC_SEI_UPDATE_INTERVAL = 0;
int MPP_GLOBAL_VENC_SEI_DATA_BUFFER_SIZE = 0;
@@ -1434,7 +1434,7 @@ ERR_EXIT0:
ERRORTYPE AW_MPI_SYS_Init(void)
{
ERRORTYPE eError = SUCCESS;
MPPLogVersionInfo();
// MPPLogVersionInfo();
mpp_log_set_level(GetEnvMppLogLevel());
#if (MPPCFG_DEMUXER == OPTION_DEMUXER_ENABLE)
int cedarx_log_level = GetConfigParamterInt("log_level", 0); //only for that log_set_level() can be called to set loglevel of cedarx.conf.