From 789d05895743c08b11c69692fc2865952f685d78 Mon Sep 17 00:00:00 2001 From: Santhosh Behara Date: Wed, 9 Aug 2017 12:31:08 +0530 Subject: [PATCH] sdm660_64: Override "video.disable.ubwc" property Override the propery "video.disable.ubwc" in the device make file so that it will be part of vendor.prop for the targets that doesn't support UBWC encoding. Change-Id: Ied558565bb0c95f32766aa10270a35391e649cab --- sdm660_64.mk | 4 ++++ system.prop | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sdm660_64.mk b/sdm660_64.mk index 524a10a6..a712c2f4 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -56,6 +56,10 @@ PRODUCT_COPY_FILES += device/qcom/sdm660_64/whitelistedapps.xml:$(TARGET_COPY_OU device/qcom/sdm660_64/gamedwhitelist.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gamedwhitelist.xml \ device/qcom/sdm660_64/appboosts.xml:$(TARGET_COPY_OUT_VENDOR)/etc/appboosts.xml + +PRODUCT_PROPERTY_OVERRIDES += \ + video.disable.ubwc=1 + ifneq ($(TARGET_DISABLE_DASH), true) PRODUCT_BOOT_JARS += qcmediaplayer endif diff --git a/system.prop b/system.prop index 30d1d423..489db05b 100755 --- a/system.prop +++ b/system.prop @@ -54,7 +54,6 @@ persist.mm.enable.prefetch=true vidc.enc.target_support_bframe=1 vendor.vidc.enc.disable_bframes=1 vendor.vidc.dec.enable.downscalar=1 -video.disable.ubwc=1 # enable PQ feature by default vendor.vidc.enc.disable.pq=false