aboutsummaryrefslogtreecommitdiffstats
path: root/testing/handbrake/disable-nvenc.patch
blob: d062b9cefd069d28c6d3b9aa01ce7436a4b5fde2 (plain)
1
2
3
4
5
6
7
8
9
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 )