Skip to content

Commit

Permalink
#1550 fix selftest version check
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@16405 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 19, 2017
1 parent 63b4342 commit 2335130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/codecs/nvenc/encoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2848,7 +2848,7 @@ def cleanup_module():

def selftest(full=False):
v = get_nvidia_module_version(True)
assert NVENCAPI_MAJOR_VERSION<7, "unsupported NVENC version %i" % NVENCAPI_MAJOR_VERSION
assert NVENCAPI_MAJOR_VERSION>=7, "unsupported NVENC version %i" % NVENCAPI_MAJOR_VERSION
if v:
NVENC_UNSUPPORTED_DRIVER_VERSION = envbool("XPRA_NVENC_UNSUPPORTED_DRIVER_VERSION", False)
#SDK 7.0 requires version 367 or later
Expand Down

0 comments on commit 2335130

Please sign in to comment.