From b83bfea05df01c7bcd15d594c4b8aebf60f8618a Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Thu, 15 Sep 2016 20:15:36 -0700 Subject: 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. --- video/decode/vd_lavc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/decode/vd_lavc.c') diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index e21f60972d..d8a8b320b0 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -151,7 +151,7 @@ static const struct vd_lavc_hwdec mp_vd_lavc_mediacodec = { }; #endif -#if HAVE_CUDA_GL +#if HAVE_CUDA_HWACCEL static const struct vd_lavc_hwdec mp_vd_lavc_cuda_copy = { .type = HWDEC_CUDA_COPY, .lavc_suffix = "_cuvid", @@ -183,7 +183,7 @@ static const struct vd_lavc_hwdec *const hwdec_list[] = { #if HAVE_ANDROID &mp_vd_lavc_mediacodec, #endif -#if HAVE_CUDA_GL +#if HAVE_CUDA_HWACCEL &mp_vd_lavc_cuda, &mp_vd_lavc_cuda_copy, #endif -- cgit v1.2.3