Fixed WITH_MEDIACODEC definition

(cherry picked from commit 3a6365caad)
This commit is contained in:
Armin Novak 2022-01-26 09:53:02 +01:00 committed by akallabeth
parent 7cc9a10e8e
commit 32f387bc76
2 changed files with 1 additions and 3 deletions

View File

@ -176,8 +176,6 @@ option(DEFINE_NO_DEPRECATED "Compile without legacy functions and symbols" OFF)
if (ANDROID)
include(ConfigOptionsAndroid)
else()
option(WITH_MEDIACODEC "Use MediaCodec API" OFF)
endif(ANDROID)
if (IOS)

View File

@ -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)