diff options
Diffstat (limited to 'testing/handbrake/disable-nvenc.patch')
-rw-r--r-- | testing/handbrake/disable-nvenc.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/handbrake/disable-nvenc.patch b/testing/handbrake/disable-nvenc.patch new file mode 100644 index 0000000000..d062b9cefd --- /dev/null +++ b/testing/handbrake/disable-nvenc.patch @@ -0,0 +1,10 @@ +--- a/make/configure.py ++++ b/make/configure.py +@@ -1321,6 +1321,7 @@ def createCLI(): + + h = IfHost( 'enable Nvidia NVEnc video encoder', '*-*-*', none=optparse.SUPPRESS_HELP ).value + grp.add_option( '--enable-nvenc', dest="enable_nvenc", default=not (host.match( '*-*-darwin*' ) or host.match( '*-*-freebsd*' )), action='store_true', help=h ) ++ grp.add_option( '--disable-nvenc', dest="enable_nvenc", action='store_false' ) + + + cli.add_option_group( grp ) |