From cf416ee9f681f384b2872159e2de0e615af931d8 Mon Sep 17 00:00:00 2001 From: Alexander Koskovich Date: Tue, 27 Apr 2021 05:01:35 -0700 Subject: [PATCH] common: media: Move system side properties to the components. Change-Id: I226ba52beb9a98deb1f49ba4789664adc176b6c3 --- media-legacy/qti-media-legacy.mk | 6 ++++++ media/qti-media.mk | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/media-legacy/qti-media-legacy.mk b/media-legacy/qti-media-legacy.mk index 88ddba92..3a182ab7 100644 --- a/media-legacy/qti-media-legacy.mk +++ b/media-legacy/qti-media-legacy.mk @@ -32,5 +32,11 @@ PRODUCT_PACKAGES += \ libgui_vendor \ libstagefright_softomx.vendor +# Properties +PRODUCT_SYSTEM_EXT_PROPERTIES += \ + media.settings.xml=/vendor/etc/media_profiles_vendor.xml \ + media.stagefright.thumbnail.prefer_hw_codecs=true \ + ro.media.recorder-max-base-layer-fps=60 + # Get non-open-source specific aspects. $(call inherit-product-if-exists, vendor/qcom/common/media-legacy/media-legacy-vendor.mk) diff --git a/media/qti-media.mk b/media/qti-media.mk index 77dd5997..8abfce4f 100644 --- a/media/qti-media.mk +++ b/media/qti-media.mk @@ -31,5 +31,11 @@ PRODUCT_PACKAGES += \ libstagefright_softomx.vendor \ libstagefrighthw +# Properties +PRODUCT_SYSTEM_EXT_PROPERTIES += \ + media.settings.xml=/vendor/etc/media_profiles_vendor.xml \ + media.stagefright.thumbnail.prefer_hw_codecs=true \ + ro.media.recorder-max-base-layer-fps=60 + # Get non-open-source specific aspects. $(call inherit-product-if-exists, vendor/qcom/common/media/media-vendor.mk)