From 63377744f3dfff04fe02c832b24f8537b78ee8d3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 3 Dec 2014 21:13:59 +0100 Subject: 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. --- video/out/vo_vdpau.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo_vdpau.c') 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; -- cgit v1.2.3