From eae0974f248d7539805d7f27242e5e9c201ded47 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Mon, 19 Dec 2011 12:35:10 +0100
Subject: [PATCH] ENH: Deactivating the adaptive mode by default

---
 Code/ApplicationEngine/otbWrapperOutputImageParameter.cxx | 2 +-
 Code/IO/otbStreamingImageFileWriter.txx                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code/ApplicationEngine/otbWrapperOutputImageParameter.cxx b/Code/ApplicationEngine/otbWrapperOutputImageParameter.cxx
index 65de0cd61b..a537812250 100644
--- a/Code/ApplicationEngine/otbWrapperOutputImageParameter.cxx
+++ b/Code/ApplicationEngine/otbWrapperOutputImageParameter.cxx
@@ -70,7 +70,7 @@ void OutputImageParameter::InitializeWriters()
     writer->SetFileName( this->GetFileName() );                                   \
     writer->SetInput(caster->GetOutput());                                        \
     writer->WriteGeomFileOn();                                                    \
-    writer->SetAutomaticAdaptativeStreaming(m_RAMValue);                          \
+    writer->SetAutomaticTiledStreaming(m_RAMValue);                               \
     writer->Update();                                                             \
   }
 
diff --git a/Code/IO/otbStreamingImageFileWriter.txx b/Code/IO/otbStreamingImageFileWriter.txx
index f4426b15de..e83e4d0029 100644
--- a/Code/IO/otbStreamingImageFileWriter.txx
+++ b/Code/IO/otbStreamingImageFileWriter.txx
@@ -64,7 +64,7 @@ StreamingImageFileWriter<TInputImage>
 {
   // By default, we use tiled streaming, with automatic tile size
   // We don't set any parameter, so the memory size is retrieved from the OTB configuration options
-  this->SetAutomaticAdaptativeStreaming();
+  this->SetAutomaticTiledStreaming();
 }
 
 /**
-- 
GitLab