Added
Link Here
|
1 |
--- make/configure.py.orig 2019-11-09 20:44:32 UTC |
2 |
+++ make/configure.py |
3 |
@@ -1413,7 +1413,7 @@ def createCLI( cross = None ): |
4 |
grp.add_argument( '--enable-nvenc', dest="enable_nvenc", default=IfHost( True, '*-*-linux*', '*-*-mingw*', none=False).value, action='store_true', help=(( 'enable %s' %h ) if h != argparse.SUPPRESS else h) ) |
5 |
grp.add_argument( '--disable-nvenc', dest="enable_nvenc", action='store_false', help=(( 'disable %s' %h ) if h != argparse.SUPPRESS else h) ) |
6 |
|
7 |
- h = IfHost( 'Intel QSV video encoder/decoder', '*-*-linux*', '*-*-mingw*', none=argparse.SUPPRESS).value |
8 |
+ h = IfHost( 'Intel QSV video encoder/decoder', '*-*-linux*', '*-*-freebsd*', '*-*-mingw*', none=argparse.SUPPRESS).value |
9 |
grp.add_argument( '--enable-qsv', dest="enable_qsv", default=IfHost(True, "*-*-mingw*", none=False).value, action='store_true', help=(( 'enable %s' %h ) if h != argparse.SUPPRESS else h) ) |
10 |
grp.add_argument( '--disable-qsv', dest="enable_qsv", action='store_false', help=(( 'disable %s' %h ) if h != argparse.SUPPRESS else h) ) |
11 |
|
12 |
@@ -1684,7 +1684,7 @@ try: |
13 |
none=False).value |
14 |
and options.enable_x265) |
15 |
# Disable QSV on unsupported platforms |
16 |
- options.enable_qsv = IfHost(options.enable_qsv, '*-*-linux*', |
17 |
+ options.enable_qsv = IfHost(options.enable_qsv, '*-*-linux*', '*-*-freebsd*', |
18 |
'*-*-mingw*', none=False).value |
19 |
# Disable VCE on unsupported platforms |
20 |
options.enable_vce = IfHost(options.enable_vce, '*-*-linux*', '*-*-mingw*', |
21 |
@@ -2124,7 +2124,7 @@ int main() |
22 |
stdout.write( 'Enable NVENC: %s' % options.enable_nvenc ) |
23 |
stdout.write( ' (%s)\n' % note_unsupported ) if not (host_tuple.system == 'linux' or host_tuple.system == 'mingw') else stdout.write( '\n' ) |
24 |
stdout.write( 'Enable QSV: %s' % options.enable_qsv ) |
25 |
- stdout.write( ' (%s)\n' % note_unsupported ) if not (host_tuple.system == 'linux' or host_tuple.system == 'mingw') else stdout.write( '\n' ) |
26 |
+ stdout.write( ' (%s)\n' % note_unsupported ) if not (host_tuple.system == 'linux' or host_tuple.system == 'freebsd' or host_tuple.system == 'mingw') else stdout.write( '\n' ) |
27 |
stdout.write( 'Enable VCE: %s' % options.enable_vce ) |
28 |
stdout.write( ' (%s)\n' % note_unsupported ) if not (host_tuple.system == 'linux' or host_tuple.system == 'mingw') else stdout.write( '\n' ) |
29 |
|