mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 00:51:37 +00:00
configure: Lower Android API level requirement of mediandk
AImage_delete is introduced in API level 24, while AMediaFormat_new is introduced in API level 21. We only need API level 21 to support NDK mediacodec. This change doesn't break or change of android_camera_indev since camera2ndk still needs API level 24. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
0bc8f5f7a5
commit
78e568a451
2
configure
vendored
2
configure
vendored
@ -6633,7 +6633,7 @@ check_lib shell32 "windows.h shellapi.h" CommandLineToArgvW -lshell32
|
||||
check_lib psapi "windows.h psapi.h" GetProcessMemoryInfo -lpsapi
|
||||
|
||||
check_lib android android/native_window.h ANativeWindow_acquire -landroid
|
||||
check_lib mediandk "stdint.h media/NdkImage.h" AImage_delete -lmediandk
|
||||
check_lib mediandk "stdint.h media/NdkMediaFormat.h" AMediaFormat_new -lmediandk
|
||||
check_lib camera2ndk "stdbool.h stdint.h camera/NdkCameraManager.h" ACameraManager_create -lcamera2ndk
|
||||
|
||||
enabled appkit && check_apple_framework AppKit
|
||||
|
Loading…
Reference in New Issue
Block a user