Skip to content

Adds a method to set the capture session preset alongside a device change#41

Closed
dsmurfin wants to merge 3 commits intoMetalPetal:masterfrom
dsmurfin:Preset-Config-Lock
Closed

Adds a method to set the capture session preset alongside a device change#41
dsmurfin wants to merge 3 commits intoMetalPetal:masterfrom
dsmurfin:Preset-Config-Lock

Conversation

@dsmurfin
Copy link
Collaborator

@dsmurfin dsmurfin commented Mar 6, 2022

Also allows changes to be locked (for macOS) and the configurator to be set when switching video device
Includes change from PR #37

@YuAo
Copy link
Member

YuAo commented Mar 8, 2022

I need more background of these changes. Can you provide some use cases?

@dsmurfin
Copy link
Collaborator Author

dsmurfin commented Mar 9, 2022

The theory here was that it was beneficial to be able to set the preset and format (particularly for macOS) within the same call, but in retrospect it seems like this would be better handled outside of VideoIO. All of the required object such as captureSession are public.

@dsmurfin dsmurfin closed this Apr 6, 2024
@dsmurfin dsmurfin deleted the Preset-Config-Lock branch April 6, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants