Itaybre / CameraController

📷 Control USB Cameras from an app
GNU General Public License v3.0
1.35k stars 68 forks source link

Lock configuration to prevent change in camera resolution #88

Closed michaelbaisch closed 1 year ago

michaelbaisch commented 1 year ago

Before this change, changes of the camera resolution in another program would be overridden every time a camera is selected here.

Itaybre commented 1 year ago

@michaelbaisch doesn't seem to be working, I am able to change the resolution from other apps.

Even if I disable the unlockForConfiguration line

michaelbaisch commented 1 year ago

The problem this is trying to fix is when you configure a resolution in another app and then open CameraController or select a camera there, it just overwrites the setting from the other app. This is trying to not overwrite the setting/configuration from another app and leave the resolution as it was configured in the other app.

Itaybre commented 1 year ago

@michaelbaisch sorry for the delay, but I finally understood the idea of this PR, merging it now