ffmpeg: support RPi hevc codec changes

This commit is contained in:
MilhouseVH 2017-12-01 05:12:59 +00:00
parent 291e5c84f8
commit 1cccced62b
2 changed files with 28078 additions and 19519 deletions

View File

@ -87,8 +87,11 @@ pre_configure_target() {
strip_gold strip_gold
if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
CFLAGS="-I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux -DRPI=1 $CFLAGS" CFLAGS="-I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux $CFLAGS"
FFMPEG_LIBS="-lbcm_host -lvcos -lvchiq_arm -lmmal -lmmal_core -lmmal_util -lvcsm" FFMPEG_LIBS="-lbcm_host -lvcos -lvchiq_arm -lmmal -lmmal_core -lmmal_util -lvcsm"
FFMPEG_RPI="--enable-rpi"
else
FFMPEG_RPI="--disable-rpi"
fi fi
} }
@ -149,6 +152,7 @@ configure_target() {
--disable-crystalhd \ --disable-crystalhd \
$FFMPEG_VAAPI \ $FFMPEG_VAAPI \
$FFMPEG_VDPAU \ $FFMPEG_VDPAU \
$FFMPEG_RPI \
--disable-dxva2 \ --disable-dxva2 \
--enable-runtime-cpudetect \ --enable-runtime-cpudetect \
$FFMPEG_TABLES \ $FFMPEG_TABLES \