summaryrefslogtreecommitdiffstats
path: root/video/out/vo_vdpau.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-03 21:13:59 +0100
committerwm4 <wm4@nowhere>2014-12-03 21:13:59 +0100
commit63377744f3dfff04fe02c832b24f8537b78ee8d3 (patch)
tree7f3f3f0f46d4d814679975f6fe035dc3f412fa42 /video/out/vo_vdpau.c
parent031aef9be9052dce8ff7b7446b979b2e2d418b3d (diff)
downloadmpv-63377744f3dfff04fe02c832b24f8537b78ee8d3.tar.bz2
mpv-63377744f3dfff04fe02c832b24f8537b78ee8d3.tar.xz
vdpau/GLX: don't access VO backend
Same as with the previous commits. In theory, vdpau/x11 GL interop doesn't assume GLX. It could use EGL as well. But since it's always GLX in practice, so we're fine with this. Remove the gl_hwdec.mpgl field - it's unused now.
Diffstat (limited to 'video/out/vo_vdpau.c')
-rw-r--r--video/out/vo_vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c
index 46190fd032..aa2cd910a0 100644
--- a/video/out/vo_vdpau.c
+++ b/video/out/vo_vdpau.c
@@ -985,7 +985,7 @@ static int preinit(struct vo *vo)
if (!vo_x11_init(vo))
return -1;
- vc->mpvdp = mp_vdpau_create_device_x11(vo->log, vo->x11);
+ vc->mpvdp = mp_vdpau_create_device_x11(vo->log, vo->x11->display);
if (!vc->mpvdp) {
vo_x11_uninit(vo);
return -1;