mirror of
https://github.com/FossifyOrg/Camera.git
synced 2026-04-21 23:50:56 -04:00
remove the hardcoded rotation degree
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user