Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerContext.cpp @ 5148:2df546a76e17
If specifying 'Transcode' option to /modify or /anonymize, this value will take over the 'IngestTranscoding' global configuration
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 27 Jan 2023 12:56:55 +0100 |
parents | 19ccae2e0371 |
children | 05112ff6ba22 |
comparison
equal
deleted
inserted
replaced
5147:19ccae2e0371 | 5148:2df546a76e17 |
---|---|
760 DicomInstanceToStore* dicom, | 760 DicomInstanceToStore* dicom, |
761 StoreInstanceMode mode, | 761 StoreInstanceMode mode, |
762 bool isReconstruct) | 762 bool isReconstruct) |
763 { | 763 { |
764 | 764 |
765 if (!isIngestTranscoding_) | 765 if (!isIngestTranscoding_ || dicom->SkipIngestTranscoding()) |
766 { | 766 { |
767 // No automated transcoding. This was the only path in Orthanc <= 1.6.1. | 767 // No automated transcoding. This was the only path in Orthanc <= 1.6.1. |
768 return StoreAfterTranscoding(resultPublicId, *dicom, mode, isReconstruct); | 768 return StoreAfterTranscoding(resultPublicId, *dicom, mode, isReconstruct); |
769 } | 769 } |
770 else | 770 else |