diff options
author | wm4 <wm4@nowhere> | 2015-07-03 15:58:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-07-03 16:04:42 +0200 |
commit | b85321d0573ba581694d2e6be1effafee74c11d1 (patch) | |
tree | aabed80d8c8ec801ff358150da9b1ca0b6f615d4 /video/hwdec.h | |
parent | b6dc11810b78953d95a75d745d7327a796f0b462 (diff) | |
download | mpv-b85321d0573ba581694d2e6be1effafee74c11d1.tar.bz2 mpv-b85321d0573ba581694d2e6be1effafee74c11d1.tar.xz |
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.
Diffstat (limited to 'video/hwdec.h')
-rw-r--r-- | video/hwdec.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |