gstnvbaseenc: Avoid unused variable warning when code is not included
Variable cuda_ret is not used when the macro #if HAVE_NVCODEC_GST_GL does not pass and causes warning. This commit moves the variable inside the #if block.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Variable cuda_ret is not used when the macro #if HAVE_NVCODEC_GST_GL does not pass and causes warning. This commit moves the variable inside the #if block.