summaryrefslogtreecommitdiffstats
path: root/video/out/drm_atomic.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-08-27 09:53:31 -0700
committerPhilip Langdale <github.philipl@overt.org>2022-10-11 10:07:48 -0700
commit064059e6c36329e1b1fd567d0efdfbaf13ec53c4 (patch)
tree154a9afe75e3288499da84ffb9157166c81c60bb /video/out/drm_atomic.c
parentd050e350fee8b3bef3f77e9c161bf35aea8faa2e (diff)
downloadmpv-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 'video/out/drm_atomic.c')
-rw-r--r--video/out/drm_atomic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/drm_atomic.c b/video/out/drm_atomic.c
index e615d2f9c7..dfd27c6f52 100644
--- a/video/out/drm_atomic.c
+++ b/video/out/drm_atomic.c
@@ -274,7 +274,7 @@ struct drm_atomic_context *drm_atomic_create_context(struct mp_log *log, int fd,
mp_verbose(log, "Using %s plane %d as drmprime plane\n", plane_type, drmprime_video_plane_id);
ctx->drmprime_video_plane = drm_object_create(log, ctx->fd, drmprime_video_plane_id, DRM_MODE_OBJECT_PLANE);
} else {
- mp_verbose(log, "Failed to find drmprime plane with idx=%d. drmprime-drm hwdec interop will not work\n", drmprime_video_plane_idx);
+ mp_verbose(log, "Failed to find drmprime plane with idx=%d. drmprime-overlay hwdec interop will not work\n", drmprime_video_plane_idx);
}
} else {
mp_verbose(log, "Found drmprime plane with ID %d\n", ctx->drmprime_video_plane->id);