diff options
author | Philip Langdale <philipl@overt.org> | 2016-10-08 16:51:15 -0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-23 01:07:26 +0100 |
commit | f5e82d5ed345dbb894ff75591abc4b262b65d0dd (patch) | |
tree | 04cf9d9c47e0a89ddeeccb295f15fe25bed40d4b /video/hwdec.h | |
parent | ebd9ce9fca557eb0e1388c944dc2438442785e95 (diff) | |
download | mpv-f5e82d5ed345dbb894ff75591abc4b262b65d0dd.tar.bz2 mpv-f5e82d5ed345dbb894ff75591abc4b262b65d0dd.tar.xz |
vo_opengl: hwdec_cuda: Use dynamic loading for cuda functions
This change applies the pattern used in ffmpeg to dynamically load
cuda, to avoid requiring the CUDA SDK at build time.
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 857d07c894..f2fa7943af 100644 --- a/video/hwdec.h +++ b/video/hwdec.h @@ -44,6 +44,7 @@ struct mp_hwdec_ctx { // HWDEC_D3D11VA: ID3D11Device* // HWDEC_DXVA2: IDirect3DDevice9* // HWDEC_DXVA2_COPY: IDirect3DDevice9* + // HWDEC_CUDA: CUcontext* void *ctx; // Optional. |