1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 04:15:13 +00:00

vo_opengl: disable drm_egl autopickup

This commit is contained in:
rr- 2015-11-08 23:23:36 +01:00 committed by wm4
parent ac64ce71d6
commit f757163058

View File

@ -304,6 +304,10 @@ static void drm_egl_uninit(MPGLContext *ctx)
static int drm_egl_init(struct MPGLContext *ctx, int flags)
{
if (ctx->vo->probing) {
MP_VERBOSE(ctx->vo, "DRM EGL backend can be activated only manually.\n");
return -1;
}
struct priv *p = ctx->priv;
p->kms = NULL;
p->old_crtc = NULL;