Prefer dav1d over for decoding

PR:		234194
Submitted by:	jbeich (patch)
Reported by:	rozhuk.im@gmail.com
This commit is contained in:
Thomas Zander 2019-03-16 17:29:46 +00:00
parent c2c0639dd6
commit 23a7653d1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495918
2 changed files with 19 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= ffmpeg
PORTVERSION= 4.1.1
PORTREVISION= 8
PORTREVISION= 9
PORTEPOCH= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= https://ffmpeg.org/releases/

View file

@ -0,0 +1,18 @@
- Prefer libdav1d over libaom decoder for AV1 streams
--- libavcodec/allcodecs.c.orig 2018-11-05 23:22:25 UTC
+++ libavcodec/allcodecs.c
@@ -672,12 +672,12 @@ extern AVCodec ff_pcm_mulaw_at_encoder;
extern AVCodec ff_pcm_mulaw_at_decoder;
extern AVCodec ff_qdmc_at_decoder;
extern AVCodec ff_qdm2_at_decoder;
+extern AVCodec ff_libdav1d_decoder;
extern AVCodec ff_libaom_av1_decoder;
extern AVCodec ff_libaom_av1_encoder;
extern AVCodec ff_libcelt_decoder;
extern AVCodec ff_libcodec2_encoder;
extern AVCodec ff_libcodec2_decoder;
-extern AVCodec ff_libdav1d_decoder;
extern AVCodec ff_libdavs2_decoder;
extern AVCodec ff_libfdk_aac_encoder;
extern AVCodec ff_libfdk_aac_decoder;