diff options
author | Philip Langdale <philipl@overt.org> | 2018-04-15 09:06:34 -0700 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-04-15 19:31:50 +0300 |
commit | 07915b12273a36bc7f104a5f3fc949a407d243dc (patch) | |
tree | 8fdc6a3cb3ea3e399c06edf9b5c16db8093ee6f2 /wscript | |
parent | 46d2f1f08d8919155ae6455ae2c3a17b262a63f7 (diff) | |
download | mpv-07915b12273a36bc7f104a5f3fc949a407d243dc.tar.bz2 mpv-07915b12273a36bc7f104a5f3fc949a407d243dc.tar.xz |
vo_gpu: hwdec: Use ffnvcodec to load CUDA symbols
The CUDA dynamic loader was broken out of ffmpeg into its own repo
and package. This gives us an opportunity to re-use it in mpv and
remove our custom loader logic.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -839,9 +839,13 @@ hwaccel_features = [ 'groups': [ 'gl' ], 'func': check_true, }, { + 'name': 'ffnvcodec', + 'desc': 'CUDA Headers and dynamic loader', + 'func': check_pkg_config('ffnvcodec >= 8.1.24.1'), + }, { 'name': '--cuda-hwaccel', 'desc': 'CUDA hwaccel', - 'deps': 'gl', + 'deps': 'gl && ffnvcodec', 'func': check_cc(fragment=load_fragment('cuda.c'), use='libavcodec'), } |