From: Erfan Abdi Date: Fri, 21 May 2021 20:35:38 +0000 (+0430) Subject: anbox: Use host ccodec prop X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/b10a83417d0fad4eef0dfec67802858ca8b92637?ds=inline anbox: Use host ccodec prop --- 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