Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera: Use NSString instead of AVCaptureSessionPreset in order to support MacOS < 10.13 #7260

Merged
merged 1 commit into from Dec 11, 2020

Conversation

misl6
Copy link
Member

@misl6 misl6 commented Dec 11, 2020

As discussed with @matham on discord, in order to support MacOS 10.12 (which is the current MACOSX_DEPLOYMENT_TARGET for conda), We decided to use NSString instead of AVCaptureSessionPreset.

The AVCaptureSessionPreset constants were only introduced since MacOS SDK 10.13.

Maintainer merge checklist

  • Title is descriptive/clear for inclusion in release notes.
  • Applied a Component: xxx label.
  • Applied the api-deprecation or api-break label.
  • Applied the release-highlight label to be highlighted in release notes.
  • Added to the milestone version it was merged into.
  • Unittests are included in PR.
  • Properly documented, including versionadded, versionchanged as needed.

@matham matham changed the title Use NSString instead of AVCaptureSessionPreset in order to support MacOS < 10.13 Camera: Use NSString instead of AVCaptureSessionPreset in order to support MacOS < 10.13 Dec 11, 2020
@matham matham added this to the 2.1.0 milestone Dec 11, 2020
Copy link
Member

@matham matham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, the patch seems to fix conda-forge/kivy-feedstock#26.

@matham matham merged commit 1c0656c into kivy:master Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants