From 3eb7eb0073b362a24191a201faae8aa79d9537a4 Mon Sep 17 00:00:00 2001 From: Daedalusspacegames Date: Tue, 26 Jan 2021 12:12:25 -0800 Subject: [PATCH] Add the ability to add NvFBC patches without NVENC --- tools/readme-autogen/add_driver.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/readme-autogen/add_driver.py b/tools/readme-autogen/add_driver.py index e96d3ac..e69ca5d 100755 --- a/tools/readme-autogen/add_driver.py +++ b/tools/readme-autogen/add_driver.py @@ -72,6 +72,10 @@ def parse_args(): dest="fbc", action="store_false", help="add driver w/o NvFBC patch") + parser.add_argument("--no-enc", + dest="enc", + action="store_false", + help="add driver w/o NVENC patch") parser.add_argument("version", help="driver version") args = parser.parse_args() @@ -174,7 +178,7 @@ def main(): else: new_driver = { "version": args.version, - "nvenc_patch": True, + "nvenc_patch": args.enc, "nvfbc_patch": args.fbc, } if url: