mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Add HAVE_AVRESAMPLE
This commit is contained in:
parent
aa1e43b2fc
commit
3b79182fa2
@ -302,12 +302,13 @@ if [ "$HAVE_THREADS" != 'no' ]; then
|
||||
check_pkgconf AVFORMAT libavformat 54
|
||||
check_pkgconf AVDEVICE libavdevice
|
||||
check_pkgconf SWRESAMPLE libswresample
|
||||
check_pkgconf AVRESAMPLE libavresample
|
||||
check_pkgconf AVUTIL libavutil 51
|
||||
check_pkgconf SWSCALE libswscale 2.1
|
||||
check_header AV_CHANNEL_LAYOUT libavutil/channel_layout.h
|
||||
|
||||
HAVE_FFMPEG='yes'
|
||||
if [ "$HAVE_AVCODEC" = 'no' ] || [ "$HAVE_SWRESAMPLE" = 'no' ] || [ "$HAVE_AVFORMAT" = 'no' ] || [ "$HAVE_AVUTIL" = 'no' ] || [ "$HAVE_SWSCALE" = 'no' ]; then
|
||||
if [ "$HAVE_AVCODEC" = 'no' ] || [ "$HAVE_AVFORMAT" = 'no' ] || [ "$HAVE_AVUTIL" = 'no' ] || [ "$HAVE_SWSCALE" = 'no' ]; then
|
||||
HAVE_FFMPEG='no'
|
||||
echo "Notice: FFmpeg built-in support disabled due to missing or unsuitable packages."
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user