]> Creatis software - clitk.git/commitdiff
Protect vtkMPEG2Writer.h which is not anymore in vtk's includes if vtk is not
authordelmon <delmon>
Tue, 12 Apr 2011 08:32:06 +0000 (08:32 +0000)
committerdelmon <delmon>
Tue, 12 Apr 2011 08:32:06 +0000 (08:32 +0000)
compile with VTK_USE_MPEG2_ENCODER.

vv/vvMainWindow.cxx

index 7a95ae68d80084e1fd4c6ceaa06bb7717dd916bc..06e42e8dea6276a6131a20594b14e9fc89f7bd47 100644 (file)
@@ -66,7 +66,9 @@
 #include <vtkPNGWriter.h>
 #include <vtkJPEGWriter.h>
 #include <vtkFFMPEGWriter.h>
-#include <vtkMPEG2Writer.h>
+#ifdef VTK_USE_MPEG2_ENCODER
+  #include <vtkMPEG2Writer.h>
+#endif
 #include <vtkMatrix4x4.h>
 #include <vtkTransform.h>