diff options
-rw-r--r-- | make/configure.py | 4 | ||||
-rw-r--r-- | make/include/main.defs | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/make/configure.py b/make/configure.py index 9a9285cb1..ea9c8b3c2 100644 --- a/make/configure.py +++ b/make/configure.py @@ -1207,6 +1207,9 @@ def createCLI(): h = IfHost( 'enable HWD features', '*-*-*', none=optparse.SUPPRESS_HELP ).value grp.add_option( '--enable-hwd', default=False, action='store_true', help=h ) + h = IfHost( 'enable use of x265 encoding', '*-*-*', none=optparse.SUPPRESS_HELP ).value + grp.add_option( '--enable-x265', default=False, action='store_true', help=h ) + h = IfHost( 'enable use of fdk-aac encoder', '*-*-*', none=optparse.SUPPRESS_HELP ).value grp.add_option( '--enable-fdk-aac', dest="enable_fdk_aac", default=not host.match( '*-*-darwin*' ), action='store_true', help=h ) grp.add_option( '--disable-fdk-aac', dest="enable_fdk_aac", action='store_false' ) @@ -1687,6 +1690,7 @@ int main () doc.add( 'FEATURE.qsv', int( options.enable_qsv )) doc.add( 'FEATURE.hwd', int( options.enable_hwd )) doc.add( 'FEATURE.xcode', int( not (Tools.xcodebuild.fail or options.disable_xcode or options.cross) )) + doc.add( 'FEATURE.x265', int( options.enable_x265 )) if not Tools.xcodebuild.fail and not options.disable_xcode: doc.addBlank() diff --git a/make/include/main.defs b/make/include/main.defs index 0cec07d0e..93d99fc15 100644 --- a/make/include/main.defs +++ b/make/include/main.defs @@ -59,6 +59,10 @@ ifeq (1,$(FEATURE.libmkv)) MODULES += contrib/libmkv endif +ifeq (1,$(FEATURE.x265)) + MODULES += contrib/x265 +endif + MODULES += contrib/lame MODULES += contrib/ffmpeg MODULES += contrib/libdvdread |