summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-16 02:14:18 +0100
committerwm4 <wm4@nowhere>2014-03-16 02:45:58 +0100
commitf50455507e6ae9410a7982b0505600c8aaf455d3 (patch)
treed6d480db130daccba5f31b12a62fde21ac701d5f /wscript
parentba160f5c8455d984ae51664c1df007e5e6333b5b (diff)
downloadmpv-f50455507e6ae9410a7982b0505600c8aaf455d3.tar.bz2
mpv-f50455507e6ae9410a7982b0505600c8aaf455d3.tar.xz
build: drop support for Libav 9
I have no tolerance for this garbage anymore. There are tons of issues with it (see e.g. previous commit), and there is no reason to use it either. Use Libav git, or Libav 10 when it's released. This also drops support for earlier FFmpeg release, which have exactly the same issues as Libav 9. FFmpeg 2.1.4 is still supported, because it's the latest release, and is reasonably recent. (Although this will probably also be dropped as soon as FFmpeg 2.2 is released.) Assumed version table (lots of nonsensical numbers): FFmpeg 2.1.4 FFmpeg (n2.2-rc2) Libav (v10_beta2) lavu 52.48.101 52.66.100 53.3.0 lavc 55.39.101 55.52.102 55.34.1 lavf 55.19.104 55.33.100 55.12.0 lsws 2.5.101 2.5.101 2.1.2 lavi 3.90.100 4.2.100 4.2.0 lswr 0.17.104 0.18.100 - lavr 1.1.0 1.2.0 1.1.0 libpostproc and libavdevice are not interesting. Following this commit, code needed just to support old Libav versions will start to be removed.
Diffstat (limited to 'wscript')
-rw-r--r--wscript12
1 files changed, 6 insertions, 6 deletions
diff --git a/wscript b/wscript
index 00bba48629..1e71adf355 100644
--- a/wscript
+++ b/wscript
@@ -325,10 +325,10 @@ If you really mean to compile without libass support use --disable-libass."
]
libav_pkg_config_checks = [
- 'libavutil', '>= 52.3.0',
- 'libavcodec', '> 54.34.0',
- 'libavformat', '> 54.19.0',
- 'libswscale', '>= 2.0.0'
+ 'libavutil', '>= 52.48.101',
+ 'libavcodec', '>= 55.34.1',
+ 'libavformat', '>= 55.12.0',
+ 'libswscale', '>= 2.1.2'
]
libav_dependencies = [
@@ -342,7 +342,7 @@ Libav libraries ({0}). Aborting.".format(" ".join(libav_pkg_config_checks))
}, {
'name': '--libavresample',
'desc': 'libavresample',
- 'func': check_pkg_config('libavresample', '>= 1.0.0'),
+ 'func': check_pkg_config('libavresample', '>= 1.1.0'),
}, {
'name': 'avresample-set-channel-mapping',
'desc': 'libavresample channel mapping API',
@@ -353,7 +353,7 @@ Libav libraries ({0}). Aborting.".format(" ".join(libav_pkg_config_checks))
}, {
'name': '--libswresample',
'desc': 'libswresample',
- 'func': check_pkg_config('libswresample', '>= 0.17.102'),
+ 'func': check_pkg_config('libswresample', '>= 0.17.104'),
'deps_neg': ['libavresample'],
}, {
'name': 'resampler',