mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
Merge pull request #5164 from HiassofT/le10-ffmpeg-testing
ffmpeg: optionally allow minimal ffmpeg binary in image
This commit is contained in:
commit
2a04b633c2
@ -115,6 +115,15 @@ pre_configure_target() {
|
||||
rm -rf .${TARGET_NAME}
|
||||
}
|
||||
|
||||
if [ "${FFMPEG_TESTING}" = "yes" ]; then
|
||||
PKG_FFMPEG_TESTING="--enable-encoder=wrapped_avframe --enable-muxer=null"
|
||||
if [ "${PROJECT}" = "RPi" ]; then
|
||||
PKG_FFMPEG_TESTING+=" --enable-vout-drm --enable-outdev=vout_drm"
|
||||
fi
|
||||
else
|
||||
PKG_FFMPEG_TESTING="--disable-programs"
|
||||
fi
|
||||
|
||||
configure_target() {
|
||||
./configure --prefix="/usr" \
|
||||
--cpu="${TARGET_CPU}" \
|
||||
@ -146,7 +155,6 @@ configure_target() {
|
||||
--pkg-config="${TOOLCHAIN}/bin/pkg-config" \
|
||||
--enable-optimizations \
|
||||
--disable-extra-warnings \
|
||||
--disable-programs \
|
||||
--enable-avdevice \
|
||||
--enable-avcodec \
|
||||
--enable-avformat \
|
||||
@ -218,7 +226,8 @@ configure_target() {
|
||||
--enable-asm \
|
||||
--disable-altivec \
|
||||
${PKG_FFMPEG_FPU} \
|
||||
--disable-symver
|
||||
--disable-symver \
|
||||
${PKG_FFMPEG_TESTING}
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user