projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0f2f8
)
Updated positioning test (removed frame reading)
author
Alexander Reshetnikov
<no@email>
Mon, 27 Feb 2012 14:37:20 +0000
(14:37 +0000)
committer
Alexander Reshetnikov
<no@email>
Mon, 27 Feb 2012 14:37:20 +0000
(14:37 +0000)
modules/highgui/test/test_positioning.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/test/test_positioning.cpp
b/modules/highgui/test/test_positioning.cpp
index
c9cdb59
..
fec0a07
100644
(file)
--- a/
modules/highgui/test/test_positioning.cpp
+++ b/
modules/highgui/test/test_positioning.cpp
@@
-156,7
+156,7
@@
void CV_VideoPositioningTest::run_test(int method)
cvSetCaptureProperty(cap, CV_CAP_PROP_POS_FRAMES, idx.at(j));
- IplImage* frame = cvRetrieveFrame(cap);
+
/*
IplImage* frame = cvRetrieveFrame(cap);
if (!frame)
{
@@
-168,7
+168,7
@@
void CV_VideoPositioningTest::run_test(int method)
ts->printf(cvtest::TS::LOG, "\nIteration: %d\n\nError: cannot read a frame with index %d.\n", j, idx.at(j));
ts->set_failed_test_info(cvtest::TS::FAIL_EXCEPTION);
flag = !flag;
- }
+ }
*/
int val = (int)cvGetCaptureProperty(cap, CV_CAP_PROP_POS_FRAMES);