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:
abfc5d3
)
minor fix
author
Andrey Morozov
<no@email>
Wed, 1 Jun 2011 17:41:30 +0000
(17:41 +0000)
committer
Andrey Morozov
<no@email>
Wed, 1 Jun 2011 17:41:30 +0000
(17:41 +0000)
modules/highgui/test/test_ffmpeg.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/test/test_ffmpeg.cpp
b/modules/highgui/test/test_ffmpeg.cpp
index 7b00170fa4bbce50ed643ae18f8a17201289cb66..33e65ca2ec43425083562c0c6fff93a380f1059e 100644
(file)
--- a/
modules/highgui/test/test_ffmpeg.cpp
+++ b/
modules/highgui/test/test_ffmpeg.cpp
@@
-82,6
+82,8
@@
class CV_FFmpegWriteBigVideoTest : public cvtest::BaseTest
VideoWriter writer(string(ts->get_data_path()) + "video/output.avi",
\r
CV_FOURCC('X', 'V', 'I', 'D'), fps, frame_s);
\r
\r
+ if (writer.isOpened() == false) ts->set_failed_test_info(cvtest::TS::FAIL_EXCEPTION);
\r
+
\r
for (int i = 0 ; i < static_cast<int>(fps * time_sec); i++ )
\r
{
\r
circle(img, Point2i(img_c / 2, img_r / 2), cv::min(img_r, img_c) / 2 * (i + 1), Scalar::all(255));
\r