Expose a SLogContext from welsCodecTrace

This commit is contained in:
Martin Storsjö
2014-06-10 14:06:14 +03:00
parent 4e428ab020
commit 8bac9315e6
2 changed files with 5 additions and 0 deletions

View File

@@ -52,6 +52,9 @@ CM_WELS_TRACE welsCodecTrace::m_fpTrace = NULL;
welsCodecTrace::welsCodecTrace() {
m_fpTrace = welsStderrTrace;
m_sLogCtx.pLogCtx = this;
m_sLogCtx.pfLog = CODEC_TRACE;
}
welsCodecTrace::~welsCodecTrace() {