comparison ViewerPlugin/Plugin.cpp @ 191:ce70678d9a9c

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Jun 2020 07:29:21 +0200
parents e3cbf890b588
children f299c191cd76
comparison
equal deleted inserted replaced
190:7d19f0cda6ae 191:ce70678d9a9c
308 { 308 {
309 // We need the "/instances/.../frames/.../raw" URI that was introduced in Orthanc 1.1.0 309 // We need the "/instances/.../frames/.../raw" URI that was introduced in Orthanc 1.1.0
310 return -1; 310 return -1;
311 } 311 }
312 312
313 Orthanc::Logging::Initialize(context); 313 Orthanc::Logging::InitializePluginContext(context);
314 314
315 // Limit the number of PNG transcoders to the number of available 315 // Limit the number of PNG transcoders to the number of available
316 // hardware threads (e.g. number of CPUs or cores or 316 // hardware threads (e.g. number of CPUs or cores or
317 // hyperthreading units) 317 // hyperthreading units)
318 unsigned int threads = Orthanc::SystemToolbox::GetHardwareConcurrency(); 318 unsigned int threads = Orthanc::SystemToolbox::GetHardwareConcurrency();