projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b3f89d
)
ENH: explicitly declared outputFilename to surpress error C2668
author
Yang Fan
<stoneyang0915@gmail.com>
Tue, 14 Apr 2015 05:39:00 +0000
(13:39 +0800)
committer
Yang Fan
<stoneyang0915@gmail.com>
Tue, 14 Apr 2015 05:39:14 +0000
(13:39 +0800)
samples/gpu/video_writer.cpp
patch
|
blob
|
history
diff --git
a/samples/gpu/video_writer.cpp
b/samples/gpu/video_writer.cpp
index
5a48c69
..
6c5d141
100644
(file)
--- a/
samples/gpu/video_writer.cpp
+++ b/
samples/gpu/video_writer.cpp
@@
-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);