From f5e82d5ed345dbb894ff75591abc4b262b65d0dd Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Sat, 8 Oct 2016 16:51:15 -0700 Subject: 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. --- 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 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. -- cgit v1.2.3