diff options
Diffstat (limited to 'video/hwdec.c')
-rw-r--r-- | video/hwdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/hwdec.c b/video/hwdec.c index b3c2131791..97b984db18 100644 --- a/video/hwdec.c +++ b/video/hwdec.c @@ -119,6 +119,9 @@ char *hwdec_devices_get_names(struct mp_hwdec_devices *devs) } static const struct hwcontext_fns *const hwcontext_fns[] = { +#if HAVE_CUDA_HWACCEL + &hwcontext_fns_cuda, +#endif #if HAVE_D3D_HWACCEL &hwcontext_fns_d3d11, #endif |