diff options
Diffstat (limited to 'contrib/ffmpeg/module.defs')
-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 |