# HG changeset patch # User Sebastien Jodogne # Date 1590489647 -7200 # Node ID 31252a887f0b16ebfea0742454779942ae2c6c8a # Parent e42f5445d20dad2150b3a83d227bb67af4de394a info log about dcmtk transcoding diff -r e42f5445d20d -r 31252a887f0b Core/DicomParsing/DcmtkTranscoder.cpp --- a/Core/DicomParsing/DcmtkTranscoder.cpp Tue May 26 09:04:00 2020 +0200 +++ b/Core/DicomParsing/DcmtkTranscoder.cpp Tue May 26 12:40:47 2020 +0200 @@ -284,6 +284,28 @@ return false; } + { + std::string s; + for (std::set::const_iterator + it = allowedSyntaxes.begin(); it != allowedSyntaxes.end(); ++it) + { + if (!s.empty()) + { + s += ", "; + } + + s += GetTransferSyntaxUid(*it); + } + + if (s.empty()) + { + s = ""; + } + + LOG(INFO) << "DCMTK transcoding from " << GetTransferSyntaxUid(sourceSyntax) + << " to one of: " << s; + } + #if !defined(NDEBUG) const std::string sourceSopInstanceUid = GetSopInstanceUid(source.GetParsed()); #endif