summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSultanxda <sultanxda@gmail.com>2016-01-25 21:04:24 -0800
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-02-17 22:57:55 +0200
commit83b1417a21598337aed8311bdb98d45c2b112aa0 (patch)
treeb12237d89bc571eb1f25fcee507b97b4aa82b58f
parent5d2bcdbf424bb791c6796caba086b77e2f96723e (diff)
downloadandroid_packages_apps_Snap-83b1417a21598337aed8311bdb98d45c2b112aa0.zip
android_packages_apps_Snap-83b1417a21598337aed8311bdb98d45c2b112aa0.tar.gz
android_packages_apps_Snap-83b1417a21598337aed8311bdb98d45c2b112aa0.tar.bz2
SnapdragonCamera: Fix HSR recording
Needed after recent framework changes upstream. Change-Id: Iedee3cf32216eb4cea663a5518d5dfa62725203f
-rw-r--r--src/com/android/camera/VideoModule.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index a49f3be..5121a03 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1601,12 +1601,6 @@ public class VideoModule implements CameraModule,
if (mCaptureTimeLapse) {
double fps = 1000 / (double) mTimeBetweenTimeLapseFrameCaptureMs;
setCaptureRate(mMediaRecorder, fps);
- } else if (isHSR && captureRate > 0) {
- Log.i(TAG, "Setting capture-rate = " + captureRate);
- mMediaRecorder.setCaptureRate(captureRate);
- // for HSR, encoder's target-framerate = capture-rate
- Log.i(TAG, "Setting fps = " + captureRate + " for HSR");
- mMediaRecorder.setVideoFrameRate(captureRate);
}
setRecordLocation();