Repository navigation
Add support for CameraControl and VideoProcAmp properties - #37
Merged
Merged
Conversation
notr1ch
reviewed
Nov 2, 2021
Member
|
Minor nitpick, if you're using C++ you want to use |
6 tasks done
exeldro
force-pushed
the
video_device_properties
branch
from
November 3, 2021 06:15
ee11c21 to
a2fa630
Compare
Contributor
Author
|
I used |
Member
|
One more small suggestion: You can change these sort of lines ComPtr<IAMCameraControl> pCameraControl = nullptr;
auto hr = videoFilter->QueryInterface(IID_IAMCameraControl,
(void **)&pCameraControl);
if (FAILED(hr) || pCameraControl == nullptr)
return false;to this: ComQIPtr<IAMCameraControl> pCameraControl = videoFilter;
if (!pCameraControl)
return false;The ComQIPtr helper class will automatically call QueryInterface for you. It's pretty nice and clean. I'd recommend changing all those cases calling QueryInterface to this instead. Should clean up the code a bit more. |
exeldro
force-pushed
the
video_device_properties
branch
from
November 27, 2021 17:59
a2fa630 to
c504452
Compare
exeldro
force-pushed
the
video_device_properties
branch
from
January 2, 2022 07:49
c504452 to
5391c41
Compare
exeldro
force-pushed
the
video_device_properties
branch
from
February 23, 2022 12:39
5391c41 to
85601a2
Compare
exeldro
force-pushed
the
video_device_properties
branch
from
May 29, 2022 05:49
85601a2 to
3dbd693
Compare
jp9000
force-pushed
the
video_device_properties
branch
from
June 15, 2022 07:39
3dbd693 to
f9ab110
Compare
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Motivation and Context
Allow to load and save camera device properties
How Has This Been Tested?
with an option to save the properties on the video capture device "dshow_input" source
Types of changes
Checklist: