summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrr- <mkurczew@gmail.com>2015-11-08 23:23:36 +0100
committerwm4 <wm4@nowhere>2015-11-09 11:19:56 +0100
commitf757163058c2e5c7136213b0f79923fcea34b71a (patch)
tree55908bbc4dc296696575dfc7c0729cf32279f91f
parentac64ce71d6cf395dbb189f613625cf02115fb7c8 (diff)
downloadmpv-f757163058c2e5c7136213b0f79923fcea34b71a.tar.bz2
mpv-f757163058c2e5c7136213b0f79923fcea34b71a.tar.xz
vo_opengl: disable drm_egl autopickup
-rw-r--r--video/out/opengl/drm_egl.c4
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;