Fix compilation when building without the Video I/O module.
authorPat O'Keefe <patokeefe1@gmail.com>
Tue, 25 Nov 2014 18:52:07 +0000 (13:52 -0500)
committerPat O'Keefe <patokeefe1@gmail.com>
Tue, 25 Nov 2014 18:52:07 +0000 (13:52 -0500)
modules/videostab/src/frame_source.cpp

index 9db9d52..07237de 100644 (file)
@@ -70,7 +70,7 @@ public:
         if (!vc.isOpened())
             CV_Error(0, "can't open file: " + path_);
 #else
-        CV_Error(CV_StsNotImplemented, "OpenCV has been compiled without video I/O support");
+        CV_Error(Error::StsNotImplemented, "OpenCV has been compiled without video I/O support");
 #endif
     }