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)
This commit is contained in:
Philip Langdale
2022-08-27 09:53:31 -07:00
committed by Philip Langdale
parent d050e350fe
commit 064059e6c3
9 changed files with 36 additions and 21 deletions

View File

@@ -900,8 +900,8 @@ if features['drm']
'video/out/drm_atomic.c',
'video/out/drm_common.c',
'video/out/drm_prime.c',
'video/out/opengl/hwdec_drmprime_drm.c',
'video/out/hwdec/hwdec_drmprime.c',
'video/out/hwdec/hwdec_drmprime_overlay.c',
'video/out/vo_drm.c')
endif