Skip to content
Snippets Groups Projects
Commit 338be34a authored by Eden Abitbol's avatar Eden Abitbol
Browse files

ffnvcodec: add mingw support

Add compilation directives for building with mingw.

Change-Id: Ied559b5f701272b8a429d775814f577d9f202a01
parent 9da5343f
Branches
Tags
No related merge requests found
......@@ -301,8 +301,20 @@ endif
# Windows
ifdef HAVE_WIN32
FFMPEGCONF += --target-os=mingw32
FFMPEGCONF += --enable-w32threads --disable-decoder=dca
DEPS_ffmpeg += ffnvcodec
FFMPEGCONF += --target-os=mingw32 \
--enable-w32threads \
--disable-decoder=dca \
--enable-cuvid \
--enable-ffnvcodec \
--enable-nvdec \
--enable-nvenc \
--enable-hwaccel=h264_nvdec \
--enable-hwaccel=hevc_nvdec \
--enable-hwaccel=vp8_nvdec \
--enable-hwaccel=mjpeg_nvdec \
--enable-encoder=h264_nvenc \
--enable-encoder=hevc_nvenc
endif
$(TARBALLS)/ffmpeg-$(FFMPEG_HASH).tar.gz:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment