Mercurial > hg > orthanc
changeset 3643:fa3ff492fb3b
added TransferSyntax_Mpeg4
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Feb 2020 08:22:02 +0100 |
parents | 94f4a18a79cc |
children | e168a2dedb00 8aab20dde416 |
files | Core/Enumerations.cpp Core/Enumerations.h OrthancServer/main.cpp Resources/Configuration.json Resources/Samples/Lua/TransferSyntaxDisable.lua Resources/Samples/Lua/TransferSyntaxEnable.lua |
diffstat | 6 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Core/Enumerations.cpp Fri Jan 31 17:14:59 2020 +0100 +++ b/Core/Enumerations.cpp Tue Feb 04 08:22:02 2020 +0100 @@ -888,6 +888,9 @@ case TransferSyntax_Mpeg2: return "MPEG2"; + case TransferSyntax_Mpeg4: + return "MPEG4"; + case TransferSyntax_Rle: return "RLE";
--- a/Core/Enumerations.h Fri Jan 31 17:14:59 2020 +0100 +++ b/Core/Enumerations.h Tue Feb 04 08:22:02 2020 +0100 @@ -633,6 +633,7 @@ TransferSyntax_JpegLossless, TransferSyntax_Jpip, TransferSyntax_Mpeg2, + TransferSyntax_Mpeg4, // New in Orthanc 1.6.0 TransferSyntax_Rle };
--- a/OrthancServer/main.cpp Fri Jan 31 17:14:59 2020 +0100 +++ b/OrthancServer/main.cpp Tue Feb 04 08:22:02 2020 +0100 @@ -276,6 +276,10 @@ configuration = "Mpeg2TransferSyntaxAccepted"; break; + case TransferSyntax_Mpeg4: + configuration = "Mpeg4TransferSyntaxAccepted"; + break; + case TransferSyntax_Rle: configuration = "RleTransferSyntaxAccepted"; break;
--- a/Resources/Configuration.json Fri Jan 31 17:14:59 2020 +0100 +++ b/Resources/Configuration.json Tue Feb 04 08:22:02 2020 +0100 @@ -124,6 +124,7 @@ "JpipTransferSyntaxAccepted" : true, "Mpeg2TransferSyntaxAccepted" : true, "RleTransferSyntaxAccepted" : true, + "Mpeg4TransferSyntaxAccepted" : true, // New in Orthanc 1.6.0 // Whether Orthanc accepts to act as C-Store SCP for unknown storage // SOP classes (aka. "promiscuous mode")
--- a/Resources/Samples/Lua/TransferSyntaxDisable.lua Fri Jan 31 17:14:59 2020 +0100 +++ b/Resources/Samples/Lua/TransferSyntaxDisable.lua Tue Feb 04 08:22:02 2020 +0100 @@ -22,6 +22,10 @@ return false end +function IsMpeg4TransferSyntaxAccepted(aet, ip) + return false +end + function IsRleTransferSyntaxAccepted(aet, ip) return false end
--- a/Resources/Samples/Lua/TransferSyntaxEnable.lua Fri Jan 31 17:14:59 2020 +0100 +++ b/Resources/Samples/Lua/TransferSyntaxEnable.lua Tue Feb 04 08:22:02 2020 +0100 @@ -22,6 +22,10 @@ return true end +function IsMpeg4TransferSyntaxAccepted(aet, ip) + return true +end + function IsRleTransferSyntaxAccepted(aet, ip) return true end