diff options
author | Bradley Sepos <[email protected]> | 2018-06-06 22:08:56 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-06-06 22:09:09 -0400 |
commit | 5ae8c7fc0eea926806606568bb29dbee03ef4236 (patch) | |
tree | 7e90b8fb40b569de39611f4371933c7e4c6905a8 /contrib/ffmpeg | |
parent | 93a153eee436a5ca71561dd40c4f128e51e4d47a (diff) |
contrib: Only enable FFmpeg AMF configure options when VCE enabled.
Diffstat (limited to 'contrib/ffmpeg')
-rw-r--r-- | contrib/ffmpeg/module.defs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs index 783088bfd..2cdfb8e3d 100644 --- a/contrib/ffmpeg/module.defs +++ b/contrib/ffmpeg/module.defs @@ -49,9 +49,6 @@ FFMPEG.CONFIGURE.extra = \ --enable-encoder=libvpx_vp8 \ --enable-encoder=libvpx_vp9 \ --disable-decoder=*_crystalhd \ - --enable-amf \ - --enable-encoder=h264_amf \ - --enable-encoder=hevc_amf \ --cc="$(FFMPEG.GCC.gcc)" \ --extra-ldflags="$(call fn.ARGS,FFMPEG.GCC,*archs *sysroot *minver ?extra) -L$(call fn.ABSOLUTE,$(CONTRIB.build/)lib)" @@ -113,6 +110,10 @@ ifeq (1,$(FEATURE.qsv)) FFMPEG.CONFIGURE.extra += --enable-libmfx endif +ifeq (1,$(FEATURE.vce)) + FFMPEG.CONFIGURE.extra += --enable-amf --enable-encoder=h264_amf --enable-encoder=hevc_amf +endif + ## enable compile verbosity FFMPEG.BUILD.extra = V=1 |