mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +00:00
configure: reject older libswresample
mpv still builds with ffmpeg 1.0.x, however libswresample keeps cuasing trouble. In older releases, libswresample simply crashed when downmixing. In somewhat newer versions, it produces distorted output and downmixing isn't even close to correct. With ffmpeg release 1.1 (ffmpeg git tag n1.1), everything seems to work fine. The release uses 0.17.102 as libswresample version, so bump the required minimum version to that.
This commit is contained in:
parent
ad8aae1708
commit
b5f07e86b8
4
configure
vendored
4
configure
vendored
@ -2660,8 +2660,8 @@ fi
|
||||
|
||||
|
||||
if test "$_resampler" = no ; then
|
||||
echocheck "libswresample >= 0.15.100"
|
||||
if pkg_config_add "libswresample >= 0.15.100" ; then
|
||||
echocheck "libswresample >= 0.17.102"
|
||||
if pkg_config_add "libswresample >= 0.17.102" ; then
|
||||
_resampler=yes
|
||||
def_resampler='#define CONFIG_LIBSWRESAMPLE'
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user