summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2016-09-15 20:15:36 -0700
committerwm4 <wm4@nowhere>2016-09-16 14:26:30 +0200
commitb83bfea05df01c7bcd15d594c4b8aebf60f8618a (patch)
tree47b08fa23a46126b098f9f83f61bc669db99a806 /wscript
parentcf5c3fc31a8fa16acfe7674bd984b58520cbc315 (diff)
downloadmpv-b83bfea05df01c7bcd15d594c4b8aebf60f8618a.tar.bz2
mpv-b83bfea05df01c7bcd15d594c4b8aebf60f8618a.tar.xz
hwdec_cuda: Rename config variable to be more consistent
'cuda-gl' isn't right - you can turn this on without any GL and get some non-zero benefit (with the cuda-copy hwaccel). So 'cuda-hwaccel' seems more consistent with everything else.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index e01ae81af6..6ec084729c 100644
--- a/wscript
+++ b/wscript
@@ -886,8 +886,8 @@ hwaccel_features = [
check_headers('libavcodec/dxva2.h', use='libav'),
check_headers('libavcodec/d3d11va.h', use='libav')),
}, {
- 'name': '--cuda-gl',
- 'desc': 'CUDA with OpenGL',
+ 'name': '--cuda-hwaccel',
+ 'desc': 'CUDA hwaccel',
'func': compose_checks(
check_cc(lib="cuda"),
check_headers('libavutil/hwcontext_cuda.h', use='libav')),