diff --git a/source/base/codec/video_decoder_vpx.cc b/source/base/codec/video_decoder_vpx.cc index ffe2e77cd..cf43b2aeb 100644 --- a/source/base/codec/video_decoder_vpx.cc +++ b/source/base/codec/video_decoder_vpx.cc @@ -95,16 +95,16 @@ std::unique_ptr VideoDecoderVPX::createVP9() //-------------------------------------------------------------------------------------------------- VideoDecoderVPX::VideoDecoderVPX(proto::VideoEncoding encoding) { - LOG(LS_INFO) << "VPX(" << encoding << ") Ctor"; - codec_.reset(new vpx_codec_ctx_t()); - uint32_t thread_count = std::thread::hardware_concurrency(); - if (thread_count >= 12) - thread_count = 8; - else if (thread_count >= 8) + if (thread_count >= 8) thread_count = 4; - else + else if (thread_count >= 4) thread_count = 2; + else + thread_count = 1; + + LOG(LS_INFO) << "VPX(" << encoding << ") Ctor (thread_count=" << thread_count << ")"; + codec_.reset(new vpx_codec_ctx_t()); vpx_codec_dec_cfg_t config; config.w = 0; diff --git a/source/client/translations/aspia_client_pt.ts b/source/client/translations/aspia_client_pt.ts index 120fc2fcd..9340d31c0 100644 --- a/source/client/translations/aspia_client_pt.ts +++ b/source/client/translations/aspia_client_pt.ts @@ -3202,6 +3202,7 @@ %n seconds + @@ -3209,6 +3210,7 @@ %n minutes + @@ -3216,6 +3218,7 @@ %n hours + @@ -3223,6 +3226,7 @@ %n days + @@ -3380,6 +3384,7 @@ Password can not be empty and should not exceed %n characters. + @@ -3392,6 +3397,7 @@ The password must contain lowercase and uppercase characters, numbers and should not be shorter than %n characters. + @@ -3694,6 +3700,7 @@ %n seconds + @@ -3701,6 +3708,7 @@ %n minutes + @@ -3708,6 +3716,7 @@ %n hours + @@ -3715,6 +3724,7 @@ %n days +