diff OrthancServer/ServerContext.cpp @ 3941:771dbd9eb3bd transcoding

class CleaningInstancesJob to share cleaning code by merge/split jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 18 May 2020 18:20:19 +0200
parents c205f670098e
children aae045f802f4
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp	Mon May 18 17:41:05 2020 +0200
+++ b/OrthancServer/ServerContext.cpp	Mon May 18 18:20:19 2020 +0200
@@ -295,7 +295,7 @@
         }
         else
         {
-          isIngestTranscoding_ = true;
+          isIngestTranscoding_ = false;
           LOG(INFO) << "Automated transcoding of incoming DICOM instances is disabled";
         }
       }
@@ -545,7 +545,7 @@
   {
     if (!isIngestTranscoding_)
     {
-      // No automated transcoding
+      // No automated transcoding. This was the only path in Orthanc <= 1.6.1.
       return StoreAfterTranscoding(resultPublicId, dicom, mode);
     }
     else