mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-03-09 13:10:10 +01:00
remove the hardcoded rotation degree
This commit is contained in:
parent
8c0e0af270
commit
10282d36ba
@ -518,7 +518,7 @@ class Preview : ViewGroup, SurfaceHolder.Callback, MediaScannerConnection.OnScan
|
||||
|
||||
val rotation = getVideoRotation()
|
||||
mInitVideoRotation = rotation
|
||||
mRecorder!!.setOrientationHint(90)
|
||||
mRecorder!!.setOrientationHint(rotation)
|
||||
|
||||
try {
|
||||
mRecorder!!.prepare()
|
||||
|
Loading…
x
Reference in New Issue
Block a user