summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Wang <jaywang@codeaurora.org>2016-07-13 13:42:23 -0700
committerJay Wang <jaywang@codeaurora.org>2016-07-13 14:00:49 -0700
commit932f06b5df83042d971bb2a187fc15b0c19ef47e (patch)
treefffb0d21d0f55cfb9514443744cd98c2aa1e1b44
parentde98a47425d6f9b1ee017829f99d61ad0620266f (diff)
downloadandroid_packages_apps_Snap-932f06b5df83042d971bb2a187fc15b0c19ef47e.tar.gz
android_packages_apps_Snap-932f06b5df83042d971bb2a187fc15b0c19ef47e.tar.bz2
android_packages_apps_Snap-932f06b5df83042d971bb2a187fc15b0c19ef47e.zip
SnapdragonCamera: Remove HFR restriction based on encoder type
There is a logic already checking the encoder capabilities and decides if the HFR can be supported or not. Therefore, we can remove the HFR restriction based on encoder type. Change-Id: I98626dd8ff7192c437db03f77d4707accde37b8b CRs-Fixed: 1041269
-rw-r--r--src/com/android/camera/VideoModule.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index 9cb48eb0f..306ad3c4c 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -2325,9 +2325,6 @@ public class VideoModule implements CameraModule,
mParameters.set(CameraSettings.KEY_VIDEO_HSR, hfrRate);
}
}
- if(mVideoEncoder != MediaRecorder.VideoEncoder.H264) {
- mUnsupportedHFRVideoCodec = true;
- }
} else {
mParameters.setVideoHighFrameRate("off");
mParameters.set(CameraSettings.KEY_VIDEO_HSR, "off");