Now all logging should use a non-null log context, allowing to pass the messages to the right recipient.
Showing the changes to codec/decoder/plus/src (1 of 4 files). Show all
Unified · Split
| @@ -103,7 +103,6 @@ CWelsDecoder::CWelsDecoder (void) · 102 unmodified lines | |||
| 103 | m_pWelsTrace = new welsCodecTrace(); | 103 | m_pWelsTrace = new welsCodecTrace(); |
| 104 | if (m_pWelsTrace != NULL) { | 104 | if (m_pWelsTrace != NULL) { |
| 105 | m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR); | 105 | m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR); |
| 106 | WelsSetLogCallback (welsCodecTrace::CODEC_TRACE); | ||
| 107 | 106 | ||
| 108 | WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, "CWelsDecoder::CWelsDecoder() entry"); | 107 | WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, "CWelsDecoder::CWelsDecoder() entry"); |
| 109 | } | 108 | } |