Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 5 files). Show all
Unified · Split
| @@ -840,7 +840,7 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) { · 839 unmodified lines | |||
| 840 | WelsEncoderApplyBitRate (m_pEncContext->pSvcParam); | 840 | WelsEncoderApplyBitRate (m_pEncContext->pSvcParam); |
| 841 | } | 841 | } |
| 842 | break; | 842 | break; |
| 843 | case ENCODER_OPTION_RC_MODE: { // 0:quality mode;1:bit-rate mode | 843 | case ENCODER_OPTION_RC_MODE: { // 0:quality mode;1:bit-rate mode;2:bitrate limited mode |
| 844 | int32_t iValue = * ((int32_t*)pOption); | 844 | int32_t iValue = * ((int32_t*)pOption); |
| 845 | m_pEncContext->pSvcParam->iRCMode = iValue; | 845 | m_pEncContext->pSvcParam->iRCMode = iValue; |
| 846 | } | 846 | } |