summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec_vaegl.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/hwdec_vaegl.c')
-rw-r--r--video/out/opengl/hwdec_vaegl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/hwdec_vaegl.c b/video/out/opengl/hwdec_vaegl.c
index efc09c28ba..462d69a6f0 100644
--- a/video/out/opengl/hwdec_vaegl.c
+++ b/video/out/opengl/hwdec_vaegl.c
@@ -216,7 +216,7 @@ static int create(struct gl_hwdec *hw)
return -1;
}
- if (hw->reject_emulated && va_guess_if_emulated(p->ctx)) {
+ if (hw->probing && va_guess_if_emulated(p->ctx)) {
destroy(hw);
return -1;
}