nvenc: Fix build when cuda is found but nvenc is disabled
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 11 Mar 2019 09:15:14 +0000 (14:45 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Mon, 11 Mar 2019 09:15:14 +0000 (14:45 +0530)
commit48d897f65f2ea0ba2c2d0871cdeaa64bcd4c50e4
tree3e9d4457df1c429f5602fecbe3384c07cdcfb8bc
parent01a402e4ec3239f84756b290dc60e56bedb0c79f
nvenc: Fix build when cuda is found but nvenc is disabled

tests\check\meson.build:21:5: ERROR:  Unknown variable "use_nvenc_gl".

Also do the same change in nvdec, just to be defensive about future
issues.
sys/nvdec/meson.build
sys/nvenc/meson.build