mirror of https://github.com/mpv-player/mpv
hwdec_cuda: bump required headers version for timeline semaphores
We're moving to using timeline semaphores for synchronisation between cuda and vulkan. It's only required with libplacebo-next right now, but eventually our baseline libplacebo requirement will increase, so we will need new enough nvidia headers that include the necessary declarations.
This commit is contained in:
parent
3a6738ed8c
commit
effc68063b
|
@ -1272,7 +1272,7 @@ endif
|
||||||
|
|
||||||
|
|
||||||
# hwaccel
|
# hwaccel
|
||||||
ffnvcodec = dependency('ffnvcodec', version: '>= 8.2.15.7', required: false)
|
ffnvcodec = dependency('ffnvcodec', version: '>= 11.1.5.1', required: false)
|
||||||
features += {'ffnvcodec': ffnvcodec.found()}
|
features += {'ffnvcodec': ffnvcodec.found()}
|
||||||
if features['ffnvcodec']
|
if features['ffnvcodec']
|
||||||
dependencies += ffnvcodec
|
dependencies += ffnvcodec
|
||||||
|
|
2
wscript
2
wscript
|
@ -892,7 +892,7 @@ hwaccel_features = [
|
||||||
}, {
|
}, {
|
||||||
'name': 'ffnvcodec',
|
'name': 'ffnvcodec',
|
||||||
'desc': 'CUDA Headers and dynamic loader',
|
'desc': 'CUDA Headers and dynamic loader',
|
||||||
'func': check_pkg_config('ffnvcodec >= 8.2.15.7'),
|
'func': check_pkg_config('ffnvcodec >= 11.1.5.1'),
|
||||||
}, {
|
}, {
|
||||||
'name': '--cuda-hwaccel',
|
'name': '--cuda-hwaccel',
|
||||||
'desc': 'CUDA acceleration',
|
'desc': 'CUDA acceleration',
|
||||||
|
|
Loading…
Reference in New Issue