rosemary: Link media.c2 service against v33 libstagefright_foundation

* Fixes crashes and high CPU usage

Change-Id: I60c07d10c2db9335d20c6dbaaaeacc9313aebf06
Signed-off-by: Woomymy <woomy@woomy.be>
This commit is contained in:
Woomymy
2023-11-29 12:48:16 +01:00
committed by Matsvei Niaverau
parent e5a6a37a87
commit ef9c77c1f9
3 changed files with 21 additions and 0 deletions

View File

@@ -66,6 +66,11 @@ function blob_fixup {
vendor/lib64/hw/android.hardware.gnss-impl-mediatek.so)
"$PATCHELF" --replace-needed "android.hardware.gnss-V1-ndk_platform.so" "android.hardware.gnss-V1-ndk.so" "$2"
;;
vendor/bin/hw/android.hardware.media.c2@1.2-mediatek)
;&
vendor/bin/hw/android.hardware.media.c2@1.2-mediatek-64b)
"${PATCHELF}" --add-needed "libstagefright_foundation-v33.so" "${2}"
;;
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service)
"${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "${2}"
;;