ENH: explicitly declared outputFilename to surpress error C2668
This commit is contained in:
parent
5b3f89df0a
commit
3b177eaaa3
@ -69,7 +69,8 @@ int main(int argc, const char* argv[])
|
|||||||
{
|
{
|
||||||
std::cout << "Open CUDA Writer" << std::endl;
|
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);
|
d_frame.upload(frame);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user