From 56b3b2feddaa7d538f224cd580cd95b625b4461e Mon Sep 17 00:00:00 2001 From: David Marble Date: Thu, 12 Jan 2017 22:28:08 +0530 Subject: [PATCH] land: TARGET_HAS_LEGACY_CAMERA_HAL1 hack And a couple of mediaserver properties to make camera work with legacy blobs Change-Id: I6c3e6b9d4aed12e1c9542cc7c4eaa6e96a3fc9df Signed-off-by: FireLord1 Signed-off-by: Darshan Manjrekar --- board/camera.mk | 1 + product/qcom-camera.mk | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/board/camera.mk b/board/camera.mk index ae50722..d0274d1 100644 --- a/board/camera.mk +++ b/board/camera.mk @@ -1,3 +1,4 @@ # Camera TARGET_CAMERASERVICE_CLOSES_NATIVE_HANDLES := true USE_DEVICE_SPECIFIC_CAMERA := true +TARGET_HAS_LEGACY_CAMERA_HAL1 := true diff --git a/product/qcom-camera.mk b/product/qcom-camera.mk index 0052d5f..3f30908 100644 --- a/product/qcom-camera.mk +++ b/product/qcom-camera.mk @@ -11,4 +11,6 @@ PRODUCT_PROPERTY_OVERRIDES += \ persist.camera.is_type=1 \ vidc.debug.perf.mode=2 \ vidc.enc.dcvs.extra-buff-count=2 \ - vidc.enc.disable.pq=true + vidc.enc.disable.pq=true \ + media.stagefright.legacyencoder=true \ + media.stagefright.less-secure=true