diff options
Diffstat (limited to 'contrib/ffmpeg/module.defs')
-rw-r--r-- | contrib/ffmpeg/module.defs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs index fdce86fde..6120ff39c 100644 --- a/contrib/ffmpeg/module.defs +++ b/contrib/ffmpeg/module.defs @@ -1,4 +1,8 @@ +ifeq (1,$(FEATURE.qsv)) +$(eval $(call import.MODULE.defs,FFMPEG,ffmpeg,YASM BZIP2 ZLIB FDKAAC PTHREADW32 LIBMFX)) +else $(eval $(call import.MODULE.defs,FFMPEG,ffmpeg,YASM BZIP2 ZLIB FDKAAC)) +endif $(eval $(call import.CONTRIB.defs,FFMPEG)) FFMPEG.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libav-v9.6.tar.bz2 @@ -86,6 +90,10 @@ ifeq (none,$(FFMPEG.GCC.O)) FFMPEG.CONFIGURE.extra += --disable-optimizations endif +ifeq (1,$(FEATURE.qsv)) + FFMPEG.CONFIGURE.extra += --enable-qsv +endif + ## enable compile verbosity FFMPEG.BUILD.extra = V=1 |