Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 2 files). Show all
Unified · Split
| @@ -1074,10 +1074,10 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) { · 1073 unmodified lines | |||
| 1074 | } | 1074 | } |
| 1075 | break; | 1075 | break; |
| 1076 | case ENCODER_OPTION_BITS_VARY_PERCENTAGE: { | 1076 | case ENCODER_OPTION_BITS_VARY_PERCENTAGE: { |
| 1077 | bool bValue = * (static_cast<bool*> (pOption)); | 1077 | int32_t iValue = * (static_cast<int32_t*> (pOption)); |
| 1078 | m_pEncContext->pSvcParam->iBitsVaryPercentage = bValue; | 1078 | m_pEncContext->pSvcParam->iBitsVaryPercentage = iValue; |
| 1079 | WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, | 1079 | WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, |
| 1080 | "CWelsH264SVCEncoder::SetOption():ENCODER_OPTION_BITS_VARY_PERCENTAGE,iBitsVaryPercentage = %d", bValue); | 1080 | "CWelsH264SVCEncoder::SetOption():ENCODER_OPTION_BITS_VARY_PERCENTAGE,iBitsVaryPercentage = %d", iValue); |
| 1081 | } | 1081 | } |
| 1082 | break; | 1082 | break; |
| 1083 | 1083 | ||