Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -727,7 +727,7 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) { · 726 unmodified lines | |||
| 727 | int32_t iValue = * ((int32_t*)pOption); | 727 | int32_t iValue = * ((int32_t*)pOption); |
| 728 | WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, | 728 | WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, |
| 729 | "CWelsH264SVCEncoder::SetOption():ENCODER_OPTION_IDR_INTERVAL iValue = %d", iValue); | 729 | "CWelsH264SVCEncoder::SetOption():ENCODER_OPTION_IDR_INTERVAL iValue = %d", iValue); |
| 730 | if (iValue <= -1 || iValue == 0) { | 730 | if ( iValue <= -1 ) { |
| 731 | iValue = 0; | 731 | iValue = 0; |
| 732 | } | 732 | } |
| 733 | if (iValue == (int32_t)m_pEncContext->pSvcParam->uiIntraPeriod) { | 733 | if (iValue == (int32_t)m_pEncContext->pSvcParam->uiIntraPeriod) { |