GNOME Bugzilla – Bug 796203
nvenc: Fix build warning error
Last modified: 2018-05-18 09:55:26 UTC
'cuDeviceComputeCapability' was deprecated as of CUDA 5.0 gstnvenc.c: In function ‘gst_nvenc_create_cuda_context’: gstnvenc.c:290:9: error: ‘cuDeviceComputeCapability’ is deprecated [-Werror=deprecated-declarations] && cuDeviceComputeCapability (&maj, &min, cdev) == CUDA_SUCCESS) { ^
Created attachment 372148 [details] [review] nvenc: Fix build warning error
Note that this warning is shown in case of CUDA 9.2 version
Thanks. I trust this still works with older versions too. commit 535adfee37b7be8064e302e4f17b1df1ca14ae14 Author: Seungha Yang <seungha.yang@navercorp.com> Date: Thu May 17 21:49:25 2018 +0900 nvenc: Fix build warning error 'cuDeviceComputeCapability' was deprecated as of CUDA 5.0 gstnvenc.c: In function ‘gst_nvenc_create_cuda_context’: gstnvenc.c:290:9: error: ‘cuDeviceComputeCapability’ is deprecated [-Werror=deprecated-declarations] && cuDeviceComputeCapability (&maj, &min, cdev) == CUDA_SUCCESS) { ^ https://bugzilla.gnome.org/show_bug.cgi?id=796203