1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-02 13:12:05 +00:00

wscript: merge libavfilter check into the main ffmpeg check

It used to be optional. That's why it was separate. No need for that
anymore.
This commit is contained in:
wm4 2017-01-27 09:22:52 +01:00
parent c3205d294e
commit a9e0f4b279

View File

@ -405,7 +405,8 @@ libav_pkg_config_checks = [
'libavutil', '>= 55.20.0',
'libavcodec', '>= 57.25.0',
'libavformat', '>= 57.07.0',
'libswscale', '>= 4.0.0'
'libswscale', '>= 4.0.0',
'libavfilter', '>= 6.7.0',
]
libav_versions_string = "FFmpeg 3.2.2 or Libav 12"
@ -433,12 +434,6 @@ FFmpeg/Libav libraries. You need at least {0}. Aborting.".format(libav_versions_
'func': check_true,
'req': True,
'fmsg': 'No resampler found. Install libavresample or libswresample (FFmpeg).'
}, {
'name': 'libavfilter',
'desc': 'libavfilter',
'func': check_pkg_config('libavfilter', '>= 6.7.0'),
'req': True,
'fmsg': 'libavfilter is a required dependency.',
}, {
'name': '--libavdevice',
'desc': 'libavdevice',