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

Tristan Matthews git at videolan.org
Thu Dec 28 00:12:57 CET 2017


vlc/vlc-3.0 | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed Dec 27 08:06:09 2017 -0500| [8e604df62995030d0fb435af763a52fd471e9757] | committer: Jean-Baptiste Kempf

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.

(cherry picked from commit eec91d68538decedcc82c4bd4630939dbab59953)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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