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

assigning a device position just rotates the camera #135

Closed
pvinis opened this issue Nov 10, 2016 · 1 comment
Closed

assigning a device position just rotates the camera #135

pvinis opened this issue Nov 10, 2016 · 1 comment

Comments

@pvinis
Copy link

pvinis commented Nov 10, 2016

lets say i make a session. it has the front camera as default. then i do _session.captureDevicePosition = AVCaptureDevicePositionBack;. now its the back camera. all good. now i do _session.captureDevicePosition = AVCaptureDevicePositionBack; again. now its the front camera. i saw that the setVideoCaptureDevicePosition: in LFVideoCapture.m is just rotating the camera, without actually checking what i assign.

chenliming777 pushed a commit that referenced this issue Nov 10, 2016
@chenliming777
Copy link

this is a bug . fixed.

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

No branches or pull requests

2 participants