From b10a83417d0fad4eef0dfec67802858ca8b92637 Mon Sep 17 00:00:00 2001 From: Erfan Abdi Date: Sat, 22 May 2021 01:05:38 +0430 Subject: [PATCH] anbox: Use host ccodec prop --- scripts/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index bbf35ac..5fb5ced 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -27,6 +27,10 @@ if [ ! -z $MEDIA_PROFILES ]; then MEDIA_PROFILES_EXTRA=`getprop media.settings.xml | sed "s/vendor/vendor_extra/" | sed "s/odm/odm_extra/"` MEDIA_PROFILES_PROP="media.settings.xml=${MEDIA_PROFILES_EXTRA}" fi +CCODEC=`getprop debug.stagefright.ccodec` +if [ ! -z $CCODEC ]; then + CCODEC_PROP="debug.stagefright.ccodec=${CCODEC}" +fi echo "Asking for root access" sudo -s <> anbox.prop echo "${EGL_PROP}" >> anbox.prop echo "${MEDIA_PROFILES_PROP}" >> anbox.prop +echo "${CCODEC_PROP}" >> anbox.prop echo "Geting latest lxc config" mkdir /var/lib/lxc/anbox -- 2.47.3