diff options
author | Yuichiro NAITO <[email protected]> | 2018-07-02 22:57:41 +0900 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-07-02 15:04:06 -0400 |
commit | f12ebd45ef608ccc75b8e4382e58aafe414831d8 (patch) | |
tree | f3c59d8aea6616b1ae597c2d5ef4e900e862b0e7 /make/configure.py | |
parent | 34fbe885ba5417214a01a641b628a4cdf6dbecbd (diff) |
build: Fix to not pass --enable-nvenc to FFmpeg configure on FreeBSD.
Nvenc is not currently supported by Nvidia on FreeBSD. If it becomes supported on FreeBSD, please check nvidia-driver and FFmpeg.
Diffstat (limited to 'make/configure.py')
-rw-r--r-- | make/configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/configure.py b/make/configure.py index 4ec254fa6..c3eeee34d 100644 --- a/make/configure.py +++ b/make/configure.py @@ -1320,7 +1320,7 @@ def createCLI(): 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*' ), action='store_true', help=h ) + grp.add_option( '--enable-nvenc', dest="enable_nvenc", default=not (host.match( '*-*-darwin*' ) or host.match( '*-*-freebsd*' )), action='store_true', help=h ) cli.add_option_group( grp ) |