Fix ffmpeg build on RK3588.

This commit is contained in:
fewtarius 2023-10-11 21:33:44 +00:00
parent 3a4a43e2aa
commit 808ba99474
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -14,11 +14,6 @@ PKG_PATCH_DIRS="kodi libreelec"
PKG_PATCH_DIRS+=" v4l2-request v4l2-drmprime"
case "${PROJECT}" in
Rockchip)
PKG_PATCH_DIRS+=" vf-deinterlace-v4l2m2m"
esac
post_unpack() {
# Fix FFmpeg version
if [ "${PROJECT}" = "Amlogic" ]; then
@ -37,6 +32,13 @@ case ${DEVICE} in
RK3588)
V4L2_SUPPORT=no
;;
*)
case ${PROJECT} in
Rockchip)
PKG_PATCH_DIRS+=" vf-deinterlace-v4l2m2m"
;;
esac
;;
esac
if [ "${V4L2_SUPPORT}" = "yes" ]; then