remove the hardcoded rotation degree

This commit is contained in:
tibbi 2017-03-26 15:07:52 +02:00
parent 8c0e0af270
commit 10282d36ba

View File

@ -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()