From 535dd647dc4d3434bc9ab3eb5b06fa3d3aecbdd2 Mon Sep 17 00:00:00 2001 From: Fabian Leutenegger Date: Wed, 29 Nov 2023 16:43:55 +0100 Subject: [PATCH] sweet: Link Dolby Atmos dependencies against v33 libstagefright_foundation * fixes crashes and absurdly high CPU usage while using dolby Co-authored-by: Woomymy Change-Id: Ib72b775dae677f3085d0b0e2afcbb709d8690063 Signed-off-by: basamaryan Signed-off-by: donjohanliebert --- extract-files.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index c51098c..a22b319 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -25,6 +25,10 @@ function blob_fixup() { sed -i "s|libMegviiFacepp-0.5.2.so|libFaceDetectpp-0.5.2.so|g" "${2}" sed -i "s|megviifacepp_0_5_2_model|facedetectpp_0_5_2_model|g" "${2}" ;; + vendor/lib64/libdlbdsservice.so | vendor/lib/libstagefright_soft_ac4dec.so | vendor/lib/libstagefright_soft_ddpdec.so) + [ "$2" = "" ] && return 0 + "${PATCHELF}" --replace-needed "libstagefright_foundation.so" "libstagefright_foundation-v33.so" "${2}" + ;; *) return 1 ;;