Commit cd6a14d7 authored by Denis Charmet's avatar Denis Charmet

Add VP9 support in mkv

Close #9341
parent 6f7d9be5
......@@ -184,6 +184,7 @@ 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 },
......
......@@ -1349,6 +1349,11 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
p_tk->fmt.i_codec = VLC_CODEC_VP8;
p_tk->b_pts_only = true;
}
else if( !strncmp( p_tk->psz_codec, "V_VP9", 5 ) )
{
p_tk->fmt.i_codec = VLC_CODEC_VP9;
fill_extra_data( p_tk, 0 );
}
else if( !strncmp( p_tk->psz_codec, "V_MPEG4", 7 ) )
{
if( !strcmp( p_tk->psz_codec, "V_MPEG4/MS/V3" ) )
......
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