diff options
author | Philip Langdale <philipl@overt.org> | 2022-08-27 09:53:31 -0700 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2022-10-11 10:07:48 -0700 |
commit | 064059e6c36329e1b1fd567d0efdfbaf13ec53c4 (patch) | |
tree | 154a9afe75e3288499da84ffb9157166c81c60bb /wscript_build.py | |
parent | d050e350fee8b3bef3f77e9c161bf35aea8faa2e (diff) | |
download | mpv-064059e6c36329e1b1fd567d0efdfbaf13ec53c4.tar.bz2 mpv-064059e6c36329e1b1fd567d0efdfbaf13ec53c4.tar.xz |
vo_gpu/hwdec: rename and introduce legacy names for some interops
We've had some annoying names for interops, which we can't simply
rename because that would break config files and command lines. So we
need to put a little more effort in and add a concept of legacy names
that allow us to continue loading them, but with a warning.
The two I'm renaming here are:
* vaapi-egl -> vaapi (vaapi works with Vulkan too)
* drmprime-drm -> drmprime-overlay (actually describes what it does)
* cuda-nvdec -> cuda (cuda interop is not nvdec specific)
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py index a22fd1f38f..dc87e45d4c 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -474,6 +474,7 @@ def build(ctx): ( "video/out/hwdec/hwdec_cuda_gl.c", "cuda-interop && gl" ), ( "video/out/hwdec/hwdec_cuda_vk.c", "cuda-interop && vulkan" ), ( "video/out/hwdec/hwdec_drmprime.c", "drm" ), + ( "video/out/hwdec/hwdec_drmprime_overlay.c","drm" ), ( "video/out/hwdec/hwdec_vaapi.c", "vaapi-egl || vaapi-libplacebo" ), ( "video/out/hwdec/dmabuf_interop_gl.c", "dmabuf-interop-gl" ), ( "video/out/hwdec/dmabuf_interop_pl.c", "dmabuf-interop-pl" ), @@ -496,7 +497,6 @@ def build(ctx): ( "video/out/opengl/egl_helpers.c", "egl-helpers" ), ( "video/out/opengl/formats.c", "gl" ), ( "video/out/opengl/hwdec_d3d11egl.c", "d3d-hwaccel && egl-angle" ), - ( "video/out/opengl/hwdec_drmprime_drm.c","drm" ), ( "video/out/opengl/hwdec_dxva2egl.c", "d3d9-hwaccel && egl-angle" ), ( "video/out/opengl/hwdec_dxva2gldx.c", "gl-dxinterop-d3d9" ), ( "video/out/opengl/hwdec_ios.m", "ios-gl" ), |