sm8350-common: Set ro.media.xml_variant.profiles to choose media profiles
This was introduced with [1] and allows to choose target specific media
profiles without caf changes to frameworks/av. Unset media.settings.xml
so that the new property gets respected and drop copying the lahaina
config as media_profiles_vendor since we don't need a fallback anymore.
[1]: eaac82f33f
#
Change-Id: I7ec306bf3dd595c09308ed26c9d3a6db8490c7f0
This commit is contained in:
parent
2fac1fd14d
commit
1f07b44542
@ -268,7 +268,6 @@ PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/media/init.qti.media.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.qti.media.rc
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/media/lahaina/media_profiles_lahaina.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
|
||||
$(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
@ -48,6 +48,7 @@ on early-init
|
||||
on post-fs-data
|
||||
setprop ro.media.xml_variant.codecs ${vendor.media.target_variant}
|
||||
setprop ro.media.xml_variant.codecs_performance ${vendor.media.target_variant}
|
||||
setprop ro.media.xml_variant.profiles ${vendor.media.target_variant}
|
||||
|
||||
on property:vendor.netflix.bsp_rev=*
|
||||
setprop ro.netflix.bsp_rev ${vendor.netflix.bsp_rev}
|
||||
|
@ -19,7 +19,6 @@ persist.dbg.wfc_avail_ovr=1
|
||||
|
||||
# Media
|
||||
media.aac_51_output_enabled=true
|
||||
media.settings.xml=/vendor/etc/media_profiles_vendor.xml
|
||||
media.stagefright.enable-aac=true
|
||||
media.stagefright.enable-fma2dp=true
|
||||
media.stagefright.enable-http=true
|
||||
|
Loading…
Reference in New Issue
Block a user