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_build.py | |
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_build.py')
-rw-r--r-- | wscript_build.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py index bce1ceb3fd..43e3dd8c9c 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -346,6 +346,7 @@ def build(ctx): ( "video/out/opengl/context_w32.c", "gl-win32" ), ( "video/out/opengl/context_x11.c", "gl-x11" ), ( "video/out/opengl/context_x11egl.c", "egl-x11" ), + ( "video/out/opengl/cuda_dynamic.c", "cuda-hwaccel" ), ( "video/out/opengl/egl_helpers.c", "egl-helpers" ), ( "video/out/opengl/formats.c", "gl" ), ( "video/out/opengl/hwdec.c", "gl" ), |