summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
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_build.py
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_build.py')
-rw-r--r--wscript_build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript_build.py b/wscript_build.py
index 46f9882447..cfab785ec0 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -290,7 +290,7 @@ def build(ctx):
( "video/vdpau.c", "vdpau" ),
( "video/vdpau_mixer.c", "vdpau" ),
( "video/decode/dec_video.c"),
- ( "video/decode/cuda.c", "cuda-gl" ),
+ ( "video/decode/cuda.c", "cuda-hwaccel" ),
( "video/decode/dxva2.c", "d3d-hwaccel" ),
( "video/decode/d3d11va.c", "d3d-hwaccel" ),
( "video/decode/d3d.c", "win32" ),
@@ -347,7 +347,7 @@ def build(ctx):
( "video/out/opengl/egl_helpers.c", "egl-helpers" ),
( "video/out/opengl/formats.c", "gl" ),
( "video/out/opengl/hwdec.c", "gl" ),
- ( "video/out/opengl/hwdec_cuda.c", "cuda-gl" ),
+ ( "video/out/opengl/hwdec_cuda.c", "cuda-hwaccel" ),
( "video/out/opengl/hwdec_d3d11egl.c", "egl-angle" ),
( "video/out/opengl/hwdec_d3d11eglrgb.c","egl-angle" ),
( "video/out/opengl/hwdec_dxva2.c", "gl-win32" ),