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
40d5b026
Commit
40d5b026
authored
Sep 19, 2012
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed verbose mode in highgui's DirectShow wrapper (bug #2350)
parent
54705a00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cap_dshow.cpp
modules/highgui/src/cap_dshow.cpp
+2
-2
No files found.
modules/highgui/src/cap_dshow.cpp
View file @
40d5b026
...
...
@@ -1819,7 +1819,7 @@ bool videoInput::setVideoSettingCamera(int deviceID, long Property, long lValue,
hr
=
getDevice
(
&
VDList
[
deviceID
]
->
pVideoInputFilter
,
deviceID
,
VDList
[
deviceID
]
->
wDeviceName
,
VDList
[
deviceID
]
->
nDeviceName
);
char
propStr
[
16
];
get
Video
PropertyAsString
(
Property
,
propStr
);
get
Camera
PropertyAsString
(
Property
,
propStr
);
if
(
verbose
)
printf
(
"Setting video setting %s.
\n
"
,
propStr
);
hr
=
VDList
[
deviceID
]
->
pVideoInputFilter
->
QueryInterface
(
IID_IAMCameraControl
,
(
void
**
)
&
pIAMCameraControl
);
...
...
@@ -1876,7 +1876,7 @@ bool videoInput::getVideoSettingCamera(int deviceID, long Property, long &min, l
}
char
propStr
[
16
];
get
Video
PropertyAsString
(
Property
,
propStr
);
get
Camera
PropertyAsString
(
Property
,
propStr
);
if
(
verbose
)
printf
(
"Setting video setting %s.
\n
"
,
propStr
);
pIAMCameraControl
->
GetRange
(
Property
,
&
min
,
&
max
,
&
SteppingDelta
,
&
defaultValue
,
&
flags
);
...
...
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