diff --git a/components/rgbd-sources/src/stereovideo.cpp b/components/rgbd-sources/src/stereovideo.cpp
index f5257f5cb9c981be3a643e347ce8ba396b87c97d..9e2de4615691d2bf583231a1f94f5020afc21eff 100644
--- a/components/rgbd-sources/src/stereovideo.cpp
+++ b/components/rgbd-sources/src/stereovideo.cpp
@@ -61,11 +61,13 @@ void StereoVideoSource::init(const string &file)
 	frames_ = std::vector<Frame>(2);
 
 #ifdef HAVE_OPTFLOW
+/*
 	// TODO make optional, can be calculated at later step
 	
 	nvof_ = cv::cuda::NvidiaOpticalFlow_1_0::create(size.width, size.height,
 													cv::cuda::NvidiaOpticalFlow_1_0::NV_OF_PERF_LEVEL_SLOW,
 													true, false, false, 0);
+*/
 #endif
 
 	calib_ = ftl::create<Calibrate>(host_, "calibration", size, stream_);
diff --git a/components/rgbd-sources/src/stereovideo.hpp b/components/rgbd-sources/src/stereovideo.hpp
index cd5a0c4884ca533ad9b185fafce47b2dd4722dd9..cfbe9f5ef77e39ac539452b765255a0f5e9d93e9 100644
--- a/components/rgbd-sources/src/stereovideo.hpp
+++ b/components/rgbd-sources/src/stereovideo.hpp
@@ -50,7 +50,7 @@ class StereoVideoSource : public detail::Source {
 	cv::Mat mask_l_;
 
 #ifdef HAVE_OPTFLOW
-	cv::Ptr<cv::cuda::NvidiaOpticalFlow_1_0> nvof_;
+//	cv::Ptr<cv::cuda::NvidiaOpticalFlow_1_0> nvof_;
 #endif
 
 	void init(const std::string &);