From b85321d0573ba581694d2e6be1effafee74c11d1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 3 Jul 2015 15:58:19 +0200 Subject: vo_direct3d, dxva2: use the same D3D device Since we still read-back (and don't have hard plans on changing this), this doesn't have much of an advantage. --- video/hwdec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/hwdec.h') diff --git a/video/hwdec.h b/video/hwdec.h index b04b7c519b..761b8d699b 100644 --- a/video/hwdec.h +++ b/video/hwdec.h @@ -23,6 +23,7 @@ struct mp_hwdec_ctx { // API-specific, not needed by all backends. struct mp_vdpau_ctx *vdpau_ctx; struct mp_vaapi_ctx *vaapi_ctx; + struct mp_d3d_ctx *d3d_ctx; // Optional. // Allocates a software image from the pool, downloads the hw image from -- cgit v1.2.3