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 /wscript | |
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 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -913,9 +913,9 @@ hwaccel_features = [ }, { 'name': '--cuda-hwaccel', 'desc': 'CUDA hwaccel', - 'func': compose_checks( - check_cc(lib="cuda"), - check_headers('libavutil/hwcontext_cuda.h', use='libav')), + 'func': check_statement('libavutil/hwcontext_cuda.h', + 'AVCUDADeviceContextInternal* foo', + use='libav'), }, { 'name': 'sse4-intrinsics', 'desc': 'GCC SSE4 intrinsics for GPU memcpy', |