nvenc: Fix build warning error
authorSeungha Yang <seungha.yang@navercorp.com>
Thu, 17 May 2018 12:49:25 +0000 (21:49 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 18 May 2018 09:43:39 +0000 (10:43 +0100)
commit535adfee37b7be8064e302e4f17b1df1ca14ae14
tree39e54ed06e1e2f896ef0560f509f13098f991a9e
parentfeb6002680664f127034cbb2c5514228f4c62fca
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
sys/nvenc/gstnvenc.c