fixed video_writer sample
authorVladislav Vinogradov <vlad.vinogradov@itseez.com>
Mon, 26 Aug 2013 07:34:37 +0000 (11:34 +0400)
committerVladislav Vinogradov <vlad.vinogradov@itseez.com>
Mon, 2 Sep 2013 10:00:44 +0000 (14:00 +0400)
samples/gpu/video_writer.cpp

index 094aa17..607f8d3 100644 (file)
@@ -30,13 +30,13 @@ int main(int argc, const char* argv[])
         return -1;
     }
 
-    cv::gpu::printShortCudaDeviceInfo(cv::gpu::getDevice());
+    cv::cuda::printShortCudaDeviceInfo(cv::cuda::getDevice());
 
     cv::VideoWriter writer;
     cv::Ptr<cv::cudacodec::VideoWriter> d_writer;
 
     cv::Mat frame;
-    cv::gpu::GpuMat d_frame;
+    cv::cuda::GpuMat d_frame;
 
     std::vector<double> cpu_times;
     std::vector<double> gpu_times;