From 663f041053f0740a7074c67b8ab2f3dbe85729fe Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 14 Nov 2022 07:48:53 +0100 Subject: [PATCH] Added warning for android media codec --- cmake/ConfigOptionsAndroid.cmake | 2 +- scripts/android-build-32.conf | 2 +- scripts/android-build-64.conf | 2 +- scripts/android-build-release.conf | 2 +- scripts/android-build.conf | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/ConfigOptionsAndroid.cmake b/cmake/ConfigOptionsAndroid.cmake index b241fabe7..ea0a3ddea 100644 --- a/cmake/ConfigOptionsAndroid.cmake +++ b/cmake/ConfigOptionsAndroid.cmake @@ -19,4 +19,4 @@ option(WITH_OPENSLES "Enable sound and microphone redirection using OpenSLES" ON set(ANDROID_APP_TARGET_SDK 21 CACHE STRING "Application target android SDK") set(ANDROID_APP_MIN_SDK 14 CACHE STRING "Application minimum android SDK requirement") -option(WITH_MEDIACODEC "Use MediaCodec API" ON) +option(WITH_MEDIACODEC "[experimental] Use MediaCodec API (currently no fallback if no device support)" OFF) diff --git a/scripts/android-build-32.conf b/scripts/android-build-32.conf index 7730a0e0f..7f87f530e 100644 --- a/scripts/android-build-32.conf +++ b/scripts/android-build-32.conf @@ -15,7 +15,7 @@ WITH_FFMPEG=1 BUILD_DEPS=1 DEPS_ONLY=0 NDK_TARGET=21 -WITH_MEDIACODEC=1 +WITH_MEDIACODEC=0 OPENH264_TAG=v2.3.1 OPENH264_HASH=453afa66dacb560bc5fd0468aabee90c483741571bca820a39a1c07f0362dc32 diff --git a/scripts/android-build-64.conf b/scripts/android-build-64.conf index 3620dee0e..c79a334c3 100644 --- a/scripts/android-build-64.conf +++ b/scripts/android-build-64.conf @@ -15,7 +15,7 @@ WITH_FFMPEG=1 BUILD_DEPS=1 DEPS_ONLY=0 NDK_TARGET=21 -WITH_MEDIACODEC=1 +WITH_MEDIACODEC=0 OPENH264_TAG=v2.3.1 OPENH264_HASH=453afa66dacb560bc5fd0468aabee90c483741571bca820a39a1c07f0362dc32 diff --git a/scripts/android-build-release.conf b/scripts/android-build-release.conf index cb98fd1de..109a4aeec 100644 --- a/scripts/android-build-release.conf +++ b/scripts/android-build-release.conf @@ -15,7 +15,7 @@ WITH_FFMPEG=1 BUILD_DEPS=1 DEPS_ONLY=0 NDK_TARGET=23 -WITH_MEDIACODEC=1 +WITH_MEDIACODEC=0 OPENH264_TAG=v2.3.1 OPENH264_HASH=453afa66dacb560bc5fd0468aabee90c483741571bca820a39a1c07f0362dc32 diff --git a/scripts/android-build.conf b/scripts/android-build.conf index 7327bd280..5c92884c5 100644 --- a/scripts/android-build.conf +++ b/scripts/android-build.conf @@ -15,7 +15,7 @@ WITH_FFMPEG=0 BUILD_DEPS=1 DEPS_ONLY=0 NDK_TARGET=21 -WITH_MEDIACODEC=1 +WITH_MEDIACODEC=0 OPENH264_TAG=v2.3.1 OPENH264_HASH=453afa66dacb560bc5fd0468aabee90c483741571bca820a39a1c07f0362dc32