summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg
diff options
context:
space:
mode:
authorJustin Bull <[email protected]>2019-02-01 11:50:42 -0500
committerBradley Sepos <[email protected]>2019-09-17 17:10:51 -0400
commit01e909bffccf71b4be4cb8ff5efdeb2d12b9e189 (patch)
treea2dd69ac54bfc669fb745dbc09ddbfdfd57b3c07 /contrib/ffmpeg
parentd0fea86cfdf710b24fbe99f99590f6f73cc98a7e (diff)
contrib: Use libdav1d for AV1 decoding in FFmpeg.
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 afbe4881a..f826a07d4 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -1,4 +1,4 @@
-__deps__ := BZIP2 ZLIB FDKAAC LIBVPX LAME LIBOPUS LIBSPEEX XZ
+__deps__ := BZIP2 ZLIB FDKAAC LIBDAV1D LIBVPX LAME LIBOPUS LIBSPEEX XZ
ifeq (1,$(FEATURE.qsv))
__deps__ += LIBMFX
endif
@@ -55,6 +55,8 @@ FFMPEG.CONFIGURE.extra = \
--enable-encoder=libvpx_vp8 \
--enable-encoder=libvpx_vp9 \
--disable-decoder=*_crystalhd \
+ --enable-libdav1d \
+ --enable-decoder=libdav1d \
--cc="$(FFMPEG.GCC.gcc)" \
--extra-ldflags="$(call fn.ARGS,FFMPEG.GCC,*archs *sysroot *minver ?extra) -L$(call fn.ABSOLUTE,$(CONTRIB.build/)lib)"