From 747b1520012e6035c1f6746e20480f76e8f83918 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Thu, 22 Jul 2021 18:59:54 -0500 Subject: context_drm_egl: allow autoprobe selection This was explictly coded to avoid the autoprobe way back when in 2015[1] with no real explanation. In theory, there shouldn't be any issues allowing this. If a user runs mpv in tty, this is probably what they actually want in most cases. Perhaps something strange happens on nvidia, but it should just fail anyway during the autoprobe. [1]: https://github.com/mpv-player/mpv/commit/f757163058c2e5c7136213b0f79923fcea34b71a --- video/out/opengl/context_drm_egl.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'video/out') diff --git a/video/out/opengl/context_drm_egl.c b/video/out/opengl/context_drm_egl.c index 4bae27f1a7..6a74a841da 100644 --- a/video/out/opengl/context_drm_egl.c +++ b/video/out/opengl/context_drm_egl.c @@ -726,11 +726,6 @@ static void drm_egl_get_vsync(struct ra_ctx *ctx, struct vo_vsync_info *info) static bool drm_egl_init(struct ra_ctx *ctx) { - if (ctx->opts.probing) { - MP_VERBOSE(ctx, "DRM EGL backend can be activated only manually.\n"); - return false; - } - struct priv *p = ctx->priv = talloc_zero(ctx, struct priv); p->ev.version = DRM_EVENT_CONTEXT_VERSION; p->ev.page_flip_handler = &drm_pflip_cb; -- cgit v1.2.3