From 3b79182fa2f3e4055936ea9c19982e15d4eee697 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 30 Aug 2016 17:31:39 +0200 Subject: [PATCH] Add HAVE_AVRESAMPLE --- qb/config.libs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 91e8f38d77..45644fa481 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -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