mirror of
https://github.com/mpv-player/mpv
synced 2025-03-10 08:13:03 +00:00
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]: f757163058
This commit is contained in:
parent
5ed0338eea
commit
747b152001
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user