Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
956d8027
Commit
956d8027
authored
Jun 10, 2013
by
Alexander Smorkalov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #3044 cap_dshow.cpp forgotten validity check fixed.
parent
4cf7a963
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cap_dshow.cpp
modules/highgui/src/cap_dshow.cpp
+4
-2
No files found.
modules/highgui/src/cap_dshow.cpp
View file @
956d8027
...
...
@@ -3195,8 +3195,10 @@ IplImage* CvCaptureCAM_DShow::retrieveFrame(int)
frame
=
cvCreateImage
(
cvSize
(
w
,
h
),
8
,
3
);
}
VI
.
getPixels
(
index
,
(
uchar
*
)
frame
->
imageData
,
false
,
true
);
return
frame
;
if
(
VI
.
getPixels
(
index
,
(
uchar
*
)
frame
->
imageData
,
false
,
true
))
return
frame
;
else
return
NULL
;
}
double
CvCaptureCAM_DShow
::
getProperty
(
int
property_id
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment