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