Commit 3216662a authored by Fredy Pulido's avatar Fredy Pulido

ffmpeg: removes duplicate code in makefile

Change-Id: Iddf7ecd564bb58ebb21ddec9659cc07224a548c0
parent 7149cbbb
...@@ -225,19 +225,7 @@ FFMPEGCONF += \ ...@@ -225,19 +225,7 @@ FFMPEGCONF += \
--enable-encoder=vp8_vaapi \ --enable-encoder=vp8_vaapi \
--enable-encoder=mjpeg_vaapi --enable-encoder=mjpeg_vaapi
# ffnvcodec is not supported on ARM then we enable it here for i386 and x86_64 # ffnvcodec is not supported on ARM then we enable it here for i386 and x86_64
ifeq ($(ARCH),i386) ifeq ($(ARCH),$(filter $(ARCH),i386 x86_64))
FFMPEGCONF += --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
ifeq ($(ARCH),x86_64)
FFMPEGCONF += --enable-cuvid \ FFMPEGCONF += --enable-cuvid \
--enable-ffnvcodec \ --enable-ffnvcodec \
--enable-nvdec \ --enable-nvdec \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment