summary refs log tree commit diff
path: root/gnu/packages/patches/handbrake-opt-in-nvenc.patch
blob: 2b34aaa427910ef455d6f52c4d7436d4fbb8fdbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Require opt-in for NVEnc support.  Otherwise the default is true with no way
to disable it.

--- HandBrake-1.2.0/make/configure.py.orig	1969-12-31 18:00:00.000000000 -0600
+++ HandBrake-1.2.0/make/configure.py	2019-01-22 23:22:46.186959060 -0600
@@ -1320,7 +1320,7 @@
     grp.add_option( '--disable-ffmpeg-aac', dest="enable_ffmpeg_aac", action='store_false' )
 
     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( '--enable-nvenc', dest="enable_nvenc", default=False, action='store_true', help=h )
 
 
     cli.add_option_group( grp )