mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
ffmpeg: support RPi hevc codec changes
This commit is contained in:
parent
291e5c84f8
commit
1cccced62b
@ -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 \
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user