Commit 804dfa33 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Avcodec: map the VP9 ID with version checks

parent cd6a14d7
......@@ -184,7 +184,6 @@ static const struct
{ VLC_CODEC_INDEO5, AV_CODEC_ID_INDEO5, VIDEO_ES },
{ VLC_CODEC_VP8, AV_CODEC_ID_VP8, VIDEO_ES },
{ VLC_CODEC_VP9, AV_CODEC_ID_VP9, VIDEO_ES },
{ VLC_CODEC_LAGARITH, AV_CODEC_ID_LAGARITH, VIDEO_ES },
......@@ -226,6 +225,10 @@ static const struct
{ VLC_CODEC_HEVC, AV_CODEC_ID_HEVC, VIDEO_ES },
#endif
#if LIBAVCODEC_VERSION_CHECK( 54, 41, 0, 89, 100 )
{ VLC_CODEC_VP9, AV_CODEC_ID_VP9, VIDEO_ES },
#endif
/* Videogames Codecs */
{ VLC_CODEC_INTERPLAY, AV_CODEC_ID_INTERPLAY_VIDEO, VIDEO_ES },
......
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