summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;