ENH: explicitly declared outputFilename to surpress error C2668
Conflicts: samples/gpu/video_writer.cpp
This commit is contained in:
parent
fd4df0f67d
commit
eaa9b78121
@ -63,7 +63,8 @@ int main(int argc, const char* argv[])
|
|||||||
{
|
{
|
||||||
std::cout << "Open GPU Writer" << std::endl;
|
std::cout << "Open GPU Writer" << std::endl;
|
||||||
|
|
||||||
d_writer.open("output_gpu.avi", frame.size(), FPS);
|
const cv::String outputFilename = "output_gpu.avi";
|
||||||
|
d_writer.open(outputFilename, frame.size(), FPS);
|
||||||
}
|
}
|
||||||
|
|
||||||
d_frame.upload(frame);
|
d_frame.upload(frame);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user