diff options
author | Bradley Sepos <[email protected]> | 2018-06-03 17:08:56 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-06-03 17:08:56 -0400 |
commit | 86ad9b9acde85a8c25d1ccea76ef3b25295be4e0 (patch) | |
tree | 1a06d81eff6da4a2a8d4c4ffe23aba410fbe5d22 | |
parent | 0465678fff90b0608866731fad4d895cd91cdec0 (diff) |
contrib: Move FFmpeg dep AMF into conditional.
Practically, there is no difference. But this is how QSV was done and is easy to read.
-rw-r--r-- | contrib/ffmpeg/module.defs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs index f3ae0b1dd..2fbdd1cff 100644 --- a/contrib/ffmpeg/module.defs +++ b/contrib/ffmpeg/module.defs @@ -1,7 +1,10 @@ -__deps__ := YASM AMF BZIP2 ZLIB FDKAAC LIBVPX LAME LIBOPUS LIBSPEEX XZ +__deps__ := YASM BZIP2 ZLIB FDKAAC LIBVPX LAME LIBOPUS LIBSPEEX XZ ifeq (1,$(FEATURE.qsv)) __deps__ += LIBMFX endif +ifeq (1,$(FEATURE.vce)) +__deps__ += AMF +endif $(eval $(call import.MODULE.defs,FFMPEG,ffmpeg,$(__deps__))) $(eval $(call import.CONTRIB.defs,FFMPEG)) |