Skip to content

Commit

Permalink
Enable FFmpeg MediaCodec support in Android builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
gigem committed Dec 30, 2024
1 parent b061ec2 commit b1b19f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/embeddedlibs/FindOrBuildFFmpeg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ function(find_or_build_ffmpeg)
--extra-ldflags=-L${LIBS_INSTALL_PREFIX}/lib64)
endif()

if(ANDROID)
list(APPEND FF_ARGS --enable-mediacodec --enable-jni)
endif()

#
# Do the lame libraries already exist, or will they exist by the time FFmpeg
# is compiled?
Expand Down

0 comments on commit b1b19f4

Please sign in to comment.