summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec_vaegl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-09 11:58:38 +0100
committerwm4 <wm4@nowhere>2015-11-09 11:58:38 +0100
commit11888a927035c37759cddcbbb588c4f8b93296d1 (patch)
tree2d07c3a6450e22b57609c84e744926c1ec699846 /video/out/opengl/hwdec_vaegl.c
parent76e50f6a3d52a75bbee3b32b4f57a0e038cb4909 (diff)
downloadmpv-11888a927035c37759cddcbbb588c4f8b93296d1.tar.bz2
mpv-11888a927035c37759cddcbbb588c4f8b93296d1.tar.xz
vo_opengl: never load vaapi GLX interop by default
Causes more harm than it helps. Will eventually be removed. Also rename the "reject_emulated" field to "probing" - this is more appropriate now.
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;
}