Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 2 files). Show all
Unified · Split
| @@ -222,7 +222,7 @@ int CWelsH264SVCEncoder::Initialize (const SEncParamBase* argv, const INIT_TYPE · 221 unmodified lines | ||
| 222 | 222 | else if(iInitType == INIT_TYPE_PARAMETER_EXT) |
| 223 | 223 | { |
| 224 | 224 | // Convert SEncParamExt into WelsSVCParamConfig here.. |
| 225 | − if (sConfig.ParamTranscode (*(const SEncParamExt*)argv, true)) { | |
| 225 | + if (sConfig.ParamTranscode (*(const SEncParamExt*)argv)) { | |
| 226 | 226 | WelsLog (m_pEncContext, WELS_LOG_ERROR, "CWelsH264SVCEncoder::Initialize(), parameter_translation failed.\n"); |
| 227 | 227 | Uninitialize(); |
| 228 | 228 | return cmInitParaError; |
| @@ -785,7 +785,7 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) { · 556 unmodified lines | ||
| 785 | 785 | } |
| 786 | 786 | |
| 787 | 787 | iInputColorspace = sEncodingParam.iInputCsp; |
| 788 | − if (sConfig.ParamTranscode (sEncodingParam, true)) { | |
| 788 | + if (sConfig.ParamTranscode (sEncodingParam)) { | |
| 789 | 789 | return cmInitParaError; |
| 790 | 790 | } |
| 791 | 791 | if (sConfig.iSpatialLayerNum < 1) { |