mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 09:57:34 +00:00
context_drm_egl: remove references to VAAPI in error messages
VAAPI is not the only hwdec that won't work when the render node isn't available.
This commit is contained in:
parent
d15f11a9f7
commit
88d0383a26
@ -693,13 +693,12 @@ static bool drm_egl_init(struct ra_ctx *ctx)
|
||||
MP_VERBOSE(ctx, "Opening render node \"%s\"\n", rendernode_path);
|
||||
p->drm_params.render_fd = open(rendernode_path, O_RDWR | O_CLOEXEC);
|
||||
if (p->drm_params.render_fd == -1) {
|
||||
MP_WARN(ctx, "Cannot open render node \"%s\": %s. VAAPI hwdec will be disabled\n",
|
||||
rendernode_path, mp_strerror(errno));
|
||||
MP_WARN(ctx, "Cannot open render node: %s\n", mp_strerror(errno));
|
||||
}
|
||||
free(rendernode_path);
|
||||
} else {
|
||||
p->drm_params.render_fd = -1;
|
||||
MP_VERBOSE(ctx, "Could not find path to render node. VAAPI hwdec will be disabled\n");
|
||||
MP_VERBOSE(ctx, "Could not find path to render node.\n");
|
||||
}
|
||||
|
||||
struct ra_gl_ctx_params params = {
|
||||
|
Loading…
Reference in New Issue
Block a user