mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
ffmpeg: add Rockchip support
This commit is contained in:
parent
13b257e58c
commit
32303e3130
@ -47,6 +47,13 @@ else
|
||||
FFMPEG_VDPAU="--disable-vdpau"
|
||||
fi
|
||||
|
||||
if [ "$PROJECT" = "Rockchip" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET rkmpp"
|
||||
FFMPEG_RKMPP="--enable-rkmpp --enable-libdrm --enable-version3"
|
||||
else
|
||||
FFMPEG_RKMPP="--disable-rkmpp"
|
||||
fi
|
||||
|
||||
if build_with_debug; then
|
||||
FFMPEG_DEBUG="--enable-debug --disable-stripping"
|
||||
else
|
||||
@ -149,6 +156,7 @@ configure_target() {
|
||||
$FFMPEG_VAAPI \
|
||||
$FFMPEG_VDPAU \
|
||||
$FFMPEG_RPI \
|
||||
$FFMPEG_RKMPP \
|
||||
--disable-dxva2 \
|
||||
--enable-runtime-cpudetect \
|
||||
$FFMPEG_TABLES \
|
||||
|
Loading…
x
Reference in New Issue
Block a user