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:
05945bf
)
return false in grabFrame failed in open method
author
Ilya Lavrenov
<ilya.lavrenov@itseez.com>
Tue, 27 Oct 2015 13:56:31 +0000
(16:56 +0300)
committer
Ilya Lavrenov
<ilya.lavrenov@itseez.com>
Tue, 27 Oct 2015 13:56:31 +0000
(16:56 +0300)
modules/highgui/src/cap_images.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/src/cap_images.cpp
b/modules/highgui/src/cap_images.cpp
index
b63cc75
..
56e3a8d
100644
(file)
--- a/
modules/highgui/src/cap_images.cpp
+++ b/
modules/highgui/src/cap_images.cpp
@@
-294,11
+294,11
@@
bool CvCapture_Images::open(const char * _filename)
firstframe = offset;
// grab frame to enable properties retrieval
- grabFrame();
+
bool grabRes =
grabFrame();
grabbedInOpen = true;
currentframe = 0;
- return
true
;
+ return
grabRes
;
}