diff options
author | rr- <mkurczew@gmail.com> | 2015-11-08 23:23:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-09 11:19:56 +0100 |
commit | f757163058c2e5c7136213b0f79923fcea34b71a (patch) | |
tree | 55908bbc4dc296696575dfc7c0729cf32279f91f /video/out/opengl/drm_egl.c | |
parent | ac64ce71d6cf395dbb189f613625cf02115fb7c8 (diff) |
vo_opengl: disable drm_egl autopickup
Diffstat (limited to 'video/out/opengl/drm_egl.c')
-rw-r--r-- | video/out/opengl/drm_egl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/opengl/drm_egl.c b/video/out/opengl/drm_egl.c index 7ba4fc0fed..5aa02ea2b7 100644 --- a/video/out/opengl/drm_egl.c +++ b/video/out/opengl/drm_egl.c @@ -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; |