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:
f309baf
)
fixed video capturing on Mac running Windows (ticket #988)
author
Vadim Pisarevsky
<no@email>
Sat, 31 Mar 2012 08:56:48 +0000
(08:56 +0000)
committer
Vadim Pisarevsky
<no@email>
Sat, 31 Mar 2012 08:56:48 +0000
(08:56 +0000)
modules/highgui/src/cap_dshow.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/src/cap_dshow.cpp
b/modules/highgui/src/cap_dshow.cpp
index
1a92b51
..
16bcef3
100644
(file)
--- a/
modules/highgui/src/cap_dshow.cpp
+++ b/
modules/highgui/src/cap_dshow.cpp
@@
-754,14
+754,14
@@
videoDevice::videoDevice(){
width = 0;
height = 0;
- tryWidth = 0;
- tryHeight = 0;
+ tryWidth =
64
0;
+ tryHeight =
48
0;
tryVideoType = MEDIASUBTYPE_RGB24;
nFramesForReconnect= 10000;
nFramesRunning = 0;
myID = -1;
- tryDiffSize =
fals
e;
+ tryDiffSize =
tru
e;
useCrossbar = false;
readyToCapture = false;
sizeSet = false;