diff options
author | Philip Langdale <philipl@overt.org> | 2016-09-15 20:15:36 -0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-16 14:26:30 +0200 |
commit | b83bfea05df01c7bcd15d594c4b8aebf60f8618a (patch) | |
tree | 47b08fa23a46126b098f9f83f61bc669db99a806 /video/fmt-conversion.c | |
parent | cf5c3fc31a8fa16acfe7674bd984b58520cbc315 (diff) | |
download | mpv-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 'video/fmt-conversion.c')
-rw-r--r-- | video/fmt-conversion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c index 2d0425f26a..aa78e99f9b 100644 --- a/video/fmt-conversion.c +++ b/video/fmt-conversion.c @@ -115,7 +115,7 @@ static const struct { #if HAVE_AV_PIX_FMT_MMAL {IMGFMT_MMAL, AV_PIX_FMT_MMAL}, #endif -#if HAVE_CUDA_GL +#if HAVE_CUDA_HWACCEL {IMGFMT_CUDA, AV_PIX_FMT_CUDA}, #endif #ifdef AV_PIX_FMT_P010 |