diff --git a/wscript b/wscript index 00e0357d64..09bb04d2fb 100644 --- a/wscript +++ b/wscript @@ -391,6 +391,18 @@ Libav libraries ({0}). Aborting.".format(" ".join(libav_pkg_config_checks)) 'func': check_true, 'req': True, 'fmsg': 'No resampler found. Install libavresample or libswresample (FFmpeg).' + }, { + 'name': '--libavfilter', + 'desc': 'libavfilter', + 'func': check_pkg_config('libavfilter', '>= 3.90.100'), + }, { + 'name': '--libavdevice', + 'desc': 'libavdevice', + 'func': check_pkg_config('libavdevice', '>= 54.0.0'), + }, { + 'name': '--libpostproc', + 'desc': 'libpostproc', + 'func': check_pkg_config('libpostproc', '>= 52.2.100'), }, { 'name': 'avcodec-chroma-pos-api', 'desc': 'libavcodec avcodec_enum_to_chroma_pos API', @@ -415,18 +427,6 @@ Libav libraries ({0}). Aborting.".format(" ".join(libav_pkg_config_checks)) 'func': check_statement('libavcodec/vdpau.h', 'AVVDPAUContext *x = av_vdpau_alloc_context()', use='libav') - }, { - 'name': '--libavfilter', - 'desc': 'libavfilter', - 'func': check_pkg_config('libavfilter', '>= 3.90.100'), - }, { - 'name': '--libavdevice', - 'desc': 'libavdevice', - 'func': check_pkg_config('libavdevice', '>= 54.0.0'), - }, { - 'name': '--libpostproc', - 'desc': 'libpostproc', - 'func': check_pkg_config('libpostproc', '>= 52.2.100'), }, { 'name': 'avcodec-metadata-update-side-data', 'desc': 'libavcodec AV_PKT_DATA_METADATA_UPDATE side data type',