Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -381,8 +381,11 @@ int CWelsH264SVCEncoder::EncodeFrame (const SSourcePicture* kpSrcPic, SFrameBSIn · 380 unmodified lines | ||
| 381 | 381 | |
| 382 | 382 | const int32_t kiEncoderReturn = EncodeFrameInternal (kpSrcPic, pBsInfo); |
| 383 | 383 | |
| 384 | − if (kiEncoderReturn != cmResultSuccess) | |
| 384 | + if (kiEncoderReturn != cmResultSuccess) { | |
| 385 | + WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_DEBUG, | |
| 386 | + "CWelsH264SVCEncoder::EncodeFrame() not succeed, err=%d", kiEncoderReturn); | |
| 385 | 387 | return kiEncoderReturn; |
| 388 | + } | |
| 386 | 389 | |
| 387 | 390 | #ifdef REC_FRAME_COUNT |
| 388 | 391 | ++ m_uiCountFrameNum; |