summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2019-12-11 17:40:19 -0800
committerPhilip Langdale <github.philipl@overt.org>2019-12-28 14:31:34 -0800
commit49cbc5017cf78b2813560e631cf568f52ca4fc4c (patch)
tree3c31589db90301a34fed9f45e7d18b11638da6a1 /wscript
parenteb852dc50c42ccc68a4a56d03baefc34dc20ebd8 (diff)
downloadmpv-49cbc5017cf78b2813560e631cf568f52ca4fc4c.tar.bz2
mpv-49cbc5017cf78b2813560e631cf568f52ca4fc4c.tar.xz
vo_gpu: hwdec_vaegl: remove support for old-style interop
In vaapi 1.1.0 (which confusingly is libva release 2.1.0), they introduced a new surface export API that is more efficient, and we've been supporting that and the old API ever since (Feb 2018). If we drop support for the old API, we can do some fairly nice cleanup of the code. Note that the pkgconfig entries are explicitly versioned by the API version and not the library version. I confirmed the upstream pkgconfig files.
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index def7f77738..a0f6583de5 100644
--- a/wscript
+++ b/wscript
@@ -726,22 +726,22 @@ video_output_features = [
'name': '--vaapi',
'desc': 'VAAPI acceleration',
'deps': 'libdl && (x11 || wayland || egl-drm)',
- 'func': check_pkg_config('libva', '>= 0.36.0'),
+ 'func': check_pkg_config('libva', '>= 1.1.0'),
}, {
'name': '--vaapi-x11',
'desc': 'VAAPI (X11 support)',
'deps': 'vaapi && x11',
- 'func': check_pkg_config('libva-x11', '>= 0.36.0'),
+ 'func': check_pkg_config('libva-x11', '>= 1.1.0'),
}, {
'name': '--vaapi-wayland',
'desc': 'VAAPI (Wayland support)',
'deps': 'vaapi && gl-wayland',
- 'func': check_pkg_config('libva-wayland', '>= 0.36.0'),
+ 'func': check_pkg_config('libva-wayland', '>= 1.1.0'),
}, {
'name': '--vaapi-drm',
'desc': 'VAAPI (DRM/EGL support)',
'deps': 'vaapi && egl-drm',
- 'func': check_pkg_config('libva-drm', '>= 0.36.0'),
+ 'func': check_pkg_config('libva-drm', '>= 1.1.0'),
}, {
'name': '--vaapi-x-egl',
'desc': 'VAAPI EGL on X11',