Skip to content

Commit

Permalink
Enabling Android's content:// protocol support
Browse files Browse the repository at this point in the history
  • Loading branch information
Javernaut committed Oct 17, 2024
1 parent afab537 commit 1554a25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/ffmpeg/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ DEP_LD_FLAGS="-L${BUILD_DIR_EXTERNAL}/${ANDROID_ABI}/lib $FFMPEG_EXTRA_LD_FLAGS"
--disable-vulkan \
--pkg-config=${PKG_CONFIG_EXECUTABLE} \
${EXTRA_BUILD_CONFIGURATION_FLAGS} \
--enable-jni \
--enable-pthreads \
--disable-runtime-cpudetect \
--disable-programs \
--disable-muxers \
Expand All @@ -62,13 +64,13 @@ DEP_LD_FLAGS="-L${BUILD_DIR_EXTERNAL}/${ANDROID_ABI}/lib $FFMPEG_EXTRA_LD_FLAGS"
--disable-avfilter \
--disable-doc \
--disable-debug \
--disable-pthreads \
--disable-network \
--disable-bsfs \
--disable-protocols \
--enable-protocol=file \
--enable-protocol=pipe \
--enable-protocol=fd \
--enable-protocol=android_content \
$ADDITIONAL_COMPONENTS || exit 1

${MAKE_EXECUTABLE} clean
Expand Down

0 comments on commit 1554a25

Please sign in to comment.