summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg
diff options
context:
space:
mode:
authorMartin Storsjö <[email protected]>2020-04-24 15:21:58 +0300
committerBradley Sepos <[email protected]>2021-02-20 16:22:30 -0500
commit8c7b444a92a801cc7567e890a7df9f503836857d (patch)
tree1e67ac8a6481cf1007d6824642409f5f6ca4bef1 /contrib/ffmpeg
parentfecb01262bc36d1f158e47ac6c207c7334cb4e36 (diff)
contrib: ffmpeg: Enable the MediaFoundation encoder wrappers
Diffstat (limited to 'contrib/ffmpeg')
-rw-r--r--contrib/ffmpeg/module.defs4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs
index 4bee8a574..0ca58862a 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -113,7 +113,9 @@ else ifeq (1-mingw,$(HOST.cross)-$(HOST.system))
--arch=$(HOST.machine) \
--cross-prefix=$(HOST.cross.prefix) \
--pkg-config=$(PKGCONFIG.exe) \
- --pkg-config-flags="--static"
+ --pkg-config-flags="--static" \
+ --enable-encoder=h264_mf \
+ --enable-encoder=hevc_mf
FFMPEG.GCC.args.extra += -fno-common
FFMPEG.GCC.args.extra-ldflags = -static-libgcc -static-libstdc++ -static
else ifeq (darwin,$(HOST.system))