Commit 3b177eaa authored by Yang Fan's avatar Yang Fan

ENH: explicitly declared outputFilename to surpress error C2668

parent 5b3f89df
......@@ -69,7 +69,8 @@ int main(int argc, const char* argv[])
{
std::cout << "Open CUDA Writer" << std::endl;
d_writer = cv::cudacodec::createVideoWriter("output_gpu.avi", frame.size(), FPS);
const cv::String outputFilename = "output_gpu.avi";
d_writer = cv::cudacodec::createVideoWriter(outputFilename, frame.size(), FPS);
}
d_frame.upload(frame);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment