mirror of https://github.com/mpv-player/mpv
build: don't depend on both libavresample and libswresample
When both libavresample and libswresample were detected, the script enabled both at the same time. This is not supported; although nothing bad happened apparently. Make the dependencies both mutually exclusive.
This commit is contained in:
parent
33c4920967
commit
e6c184e2b1
1
wscript
1
wscript
|
@ -335,6 +335,7 @@ Libav libraries ({0}). Aborting.".format(" ".join(libav_pkg_config_checks))
|
|||
'name': '--libswresample',
|
||||
'desc': 'libswresample',
|
||||
'func': check_pkg_config('libswresample', '>= 0.17.102'),
|
||||
'deps_neg': ['libavresample'],
|
||||
}, {
|
||||
'name': 'resampler',
|
||||
'desc': 'usable resampler found',
|
||||
|
|
Loading…
Reference in New Issue