mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-05 16:49:41 +02: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()
|
val rotation = getVideoRotation()
|
||||||
mInitVideoRotation = rotation
|
mInitVideoRotation = rotation
|
||||||
mRecorder!!.setOrientationHint(90)
|
mRecorder!!.setOrientationHint(rotation)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
mRecorder!!.prepare()
|
mRecorder!!.prepare()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user