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
No related branches found
No related tags found
No related merge requests found
...@@ -301,8 +301,20 @@ endif ...@@ -301,8 +301,20 @@ endif
# Windows # Windows
ifdef HAVE_WIN32 ifdef HAVE_WIN32
FFMPEGCONF += --target-os=mingw32 DEPS_ffmpeg += ffnvcodec
FFMPEGCONF += --enable-w32threads --disable-decoder=dca 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 endif
$(TARBALLS)/ffmpeg-$(FFMPEG_HASH).tar.gz: $(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