[vlc-commits] avcodec: fourcc: add av1 mapping

Tristan Matthews git at videolan.org
Wed Dec 27 22:13:23 CET 2017


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed Dec 27 08:06:09 2017 -0500| [eec91d68538decedcc82c4bd4630939dbab59953] | committer: Tristan Matthews

avcodec: fourcc: add av1 mapping

Needed to mux AV1 using libavformat's IVF muxer.
IVF muxing for AV1 was added to ffmpeg in
commit e8f0a463b0d27a4d74c0d9f1857e72a8033d1069.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eec91d68538decedcc82c4bd4630939dbab59953
---

 modules/codec/avcodec/fourcc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 3394920ad4..22761cffa6 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -223,6 +223,9 @@ static const struct vlc_avcodec_fourcc video_codecs[] =
     { VLC_CODEC_CLLC, AV_CODEC_ID_CLLC },
     { VLC_CODEC_MSS2, AV_CODEC_ID_MSS2 },
     { VLC_CODEC_VP9, AV_CODEC_ID_VP9 },
+#if LIBAVCODEC_VERSION_CHECK( 57, 26, 0, 83, 101 )
+    { VLC_CODEC_AV1, AV_CODEC_ID_AV1 },
+#endif
     { VLC_CODEC_ICOD, AV_CODEC_ID_AIC },
     /* AV_CODEC_ID_ESCAPE130 */
     { VLC_CODEC_G2M4, AV_CODEC_ID_G2M },



More information about the vlc-commits mailing list