fixed video_writer sample

pull/1299/head
Vladislav Vinogradov 12 years ago
parent ba4bf04c6c
commit 12f50d7f67
  1. 4
      samples/gpu/video_writer.cpp

@ -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;

Loading…
Cancel
Save